RoadRunnerOz
Programmer
My client just lost 30 new records!
Every new record added was scrambled when his laptop locked up and my client had to reboot.
All existing records changed were ok for some reason??? My client had been adding records over a 2 hour period.
Details
All tables are opened when the app starts. None are opened in the DE.
I use row buffering on all tables.
Ex: =CursorSetProp("buffering",3,"company"
This is how I saved records:
if !Tableupdate(.T.,.T.,"company"
message...
return
This was a stand aloneapp on a win95 notebook ( about 5 - 7 years old, 500 meg HD, 64 meg ram)
There are no begin transaction ... commands
The app is written as multi user for the future but only one person uses it at a time.
There are two tables: employee and tests. 30 tests were added for existing employees and 6 new employees were added with 6 tests. (36 tests added)
When a record is added to the test table data is also written to the employee table.
What happened: The PC locked up after 2 hours of adding records. After reboot, all the new tests were scrambled, the 6 new employees remained but were also scrambled. The "funny" part: The 30 existing employee records all had the correct updated information.
The program is very slo that particular laptop and the user is impatient. It may not have locked at all but that's the explanation I got.
Any helpful suggestions out there?
Michael Ouellette
mouellette@compuserve.com
Every new record added was scrambled when his laptop locked up and my client had to reboot.
All existing records changed were ok for some reason??? My client had been adding records over a 2 hour period.
Details
All tables are opened when the app starts. None are opened in the DE.
I use row buffering on all tables.
Ex: =CursorSetProp("buffering",3,"company"
This is how I saved records:
if !Tableupdate(.T.,.T.,"company"
message...
return
This was a stand aloneapp on a win95 notebook ( about 5 - 7 years old, 500 meg HD, 64 meg ram)
There are no begin transaction ... commands
The app is written as multi user for the future but only one person uses it at a time.
There are two tables: employee and tests. 30 tests were added for existing employees and 6 new employees were added with 6 tests. (36 tests added)
When a record is added to the test table data is also written to the employee table.
What happened: The PC locked up after 2 hours of adding records. After reboot, all the new tests were scrambled, the 6 new employees remained but were also scrambled. The "funny" part: The 30 existing employee records all had the correct updated information.
The program is very slo that particular laptop and the user is impatient. It may not have locked at all but that's the explanation I got.
Any helpful suggestions out there?
Michael Ouellette
mouellette@compuserve.com