I've got a VFP app that gets its data from a .dbf file.
Well...some of the records in that file (about 20%) have 1 field that is wrong.
I've got an updated .dbf that is just like the original, except with the correct data in the fields of those records.
For a few odd reasons...I cannot simply delete the old .dbf and put this new one in it's place.
I'm not that familar with the line-by-line Foxpro commands that can be entered when you open up a .dbf file and "Browse" it's contents....but...
....from that place I understand that various commands like "Pack," etc...can be executed there.
I'm hoping there is a command like "Update" or something...that will look at the "target" .dbf....look at the "new" .dbf....and simply update whatever matching records exist between the 2 in the Existing Target with any data that is different in the "new" .dbf.
The end result hoped for is to be able to continue using the current dbf...but just edited with the correct data from the new (correct) one.
Hope this makes sense...
Any advice appreciated.
THANKS
Well...some of the records in that file (about 20%) have 1 field that is wrong.
I've got an updated .dbf that is just like the original, except with the correct data in the fields of those records.
For a few odd reasons...I cannot simply delete the old .dbf and put this new one in it's place.
I'm not that familar with the line-by-line Foxpro commands that can be entered when you open up a .dbf file and "Browse" it's contents....but...
....from that place I understand that various commands like "Pack," etc...can be executed there.
I'm hoping there is a command like "Update" or something...that will look at the "target" .dbf....look at the "new" .dbf....and simply update whatever matching records exist between the 2 in the Existing Target with any data that is different in the "new" .dbf.
The end result hoped for is to be able to continue using the current dbf...but just edited with the correct data from the new (correct) one.
Hope this makes sense...
Any advice appreciated.
THANKS