The program I am writing is in VFP 8.0 I have several forms all accessing different tables and sometimes the same tables. Non of my forms are using private data sessions and non of my controls are linked to fields in the tables they are accessing. I am entering and changing data in the tables using REPLACE. I am also using APPEND BLANK to create new records. My problem is that the program does all the changes while it is running and I can then search my tables and see my changes. When I close the app it tells me that data has been changed would I like to save. If I click no all changes and additions to my tables are erased when I re-run the app. I do not want users to have to click yes, and I want the program to save when changes are made and the user clicks the save buttons in the forms. I am worried (and most likely is the case) that is users work all day and their node loses power that all their changes will not be saved. I have tried using FLUSH, but when I exit it still asks me to save changes and when I click no the changes are lost.
Thanks for the help in Advance.
P.S. I looked in the fact section and saw nothing that talks about this, and I searched the forum.
Thanks for the help in Advance.
P.S. I looked in the fact section and saw nothing that talks about this, and I searched the forum.