Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to retain modified data in TTable??

Status
Not open for further replies.

hstijnen

Programmer
Nov 13, 2002
172
NL
Hello,

I have a form with a TTable and a TDBGrid. The table is connected with a dbf (dBase IV) file. Now when I modify a field in the DBGrid and close the form (table is also closed), and re-open the form, the new data are lost!!
When I modify data and change record before closing the form, all is OK.

What can I do to retain the modifications without being needed to change record? table->Post() doesn't work. table->ApplyUpdates() also not.

Henk
 
Thanks for your help. I've already found the solutiuon:
table->FlushBuffers() gives the just action.

Henk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top