Title: Message
John,
 
You'll need to include bde in your uses clause. Handle is the handle of the table you are using i.e
 
dbiSaveChanges(Table1.Handle);
 
Cheers
 
James
-----Original Message-----
From: John Christenhusz [mailto:[EMAIL PROTECTED]]
Sent: Friday, 6 July 2001 10:46
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Updating Physical Tables - 2

Hi Mark,
 
This function call DBISaveChanges(Handle) sounds great, but:
 
1. My compiler (D4) doesn't know about this call (what file to include please?)
 
2. Where does Handle come from?
 
TIA
 
John
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Howard
Sent: Friday, 06 July, 2001 09:32
To: Multiple recipients of list delphi
Subject: [DUG]: Updating Physical Tables
I'm sure you will get a more complete answer from someone else, but in the
meantime:
In my code I have used
DBISaveChanges(Handle);
immediately after each Post.
although I discovered later that a much better way is to put that code into
the TTable's After Post event.
My understanding is that doing the above will update the database files on
disk but it will still not notify other users that the table has been
updated - that is another whole question (which is way beyond me at this
stage)
Hope this is of some use.
Mark

Reply via email to