Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by Membre maitrise
Tue, 27 Mar 2001 15:54
problem of data lost
Author: Membre maitrise
Date: Tue, 27 Mar 2001 15:54
Date: Tue, 27 Mar 2001 15:54
5 lines
1038 bytes
1038 bytes
I have C++ Builder 5.0 professionnal and have some problem with database. During an execution of my program, there is sometimes some lines that disapear in my database. I don t understand the problem : drivers or programmation.
Re: problem of data lost
Author: Mark Cashman
Date: Wed, 28 Mar 2001 03:19
Date: Wed, 28 Mar 2001 03:19
18 lines
1675 bytes
1675 bytes
This isn't really an ADO problem, but probably a logic problem. You need to make sure you TTable or TQuery::Post() before terminating your program - without Post(), changes and additions are not saved. If you are using cached updates you need to ApplyUpdates() and CommitUpdates() on your database object. Try asking with more details including very stripped down code in borland.public.cppbuilder.database.desktop unless you are using the ADO components. ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads