Re: Refresh DB
Dolf van den Berg wrote:
Is there any other way to refresh the information in a DB using ADO
connection than closing and opening it?
Thanks
Dolf
you can use Requery, which is the same as if you would call Close and
then Open. It refreshes the dataset using the original command or SQL
statement. However, using it you won't be able to change those
properties that can only be changed when the dataset is closed.
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project:
http://docs.indyproject.org
--
In order to contact me remove the -nospam
.
Relevant Pages
- Re: global connections
... you should be opening and closing it when you need it. ... you create a single pipe through which all of your data ... Using C#, would it be best to have a global> connection and datareaders etc, or is it better to put all the db stuff> into a seperate class and make calls to this whenever I need to> read/amend data? ... (microsoft.public.dotnet.languages.csharp) - Re: Run-time error 2147217841 Query Timeout expired
... Are you opening and closing your connection on each ... app, and expecting to stay alive whilst the app is sleeping between hourly ... (microsoft.public.vb.general.discussion) - Re: Memory problem - writing to database
... > take a lot of resource to keep opening and closing the db connection? ... I'm not even sure that ADO classic doesn't have a clever form of connection ... I also strongly suspect that by ... Don't worry about the fact that you're constantly opening new connections - ... (microsoft.public.vb.general.discussion) - Re: Run-time error 2147217841 Query Timeout expired
... Are you opening and closing your connection on each ... app, and expecting to stay alive whilst the app is sleeping between hourly ... (microsoft.public.vb.general.discussion) - Re: Word 2000 size limitations
... Win XP, Word 2007, dual-core PC: ... When opening the document, Word takes up to a couple of minutes to count the ... When closing a document, nothing seems to happen sometimes. ... If you have no 2003 pro at hand, try a round-trip save through HTML or RTF. ... (microsoft.public.word.docmanagement) |
|