I have a simple program that uses usertable.dbf and imports data from 9600.dbf then deletes 9600.dbf, it waits until 9600.dbf appears again then imports the data again and deletes it.......this is all that it does... on and on
9600.dbf will consist of about 1 to 10 records that contain the fields, fullname, address, city, state, zip, phone, curdate, curtime, list.
now the problem I have is some of the data that some of the records that get written to 9600 have already been loaded into usertable.dbf
Can anyone help me out here, I need a simple .prg that will check each record in 9600.dbf to see if its already in
usertable.dbf (the same fullname, phone and curdate fields)
and if these three fields contain data that is the same it needs to overwrite the existing record....
I have spent alot of time on this and I can't figure it out... please help....
fullname is 40 characters long and is first and last name
phone is 10 characters long and is a phone number
curdate is 8 characters long and is the date the record was written to the 9600.dbf file.
9600.dbf will consist of about 1 to 10 records that contain the fields, fullname, address, city, state, zip, phone, curdate, curtime, list.
now the problem I have is some of the data that some of the records that get written to 9600 have already been loaded into usertable.dbf
Can anyone help me out here, I need a simple .prg that will check each record in 9600.dbf to see if its already in
usertable.dbf (the same fullname, phone and curdate fields)
and if these three fields contain data that is the same it needs to overwrite the existing record....
I have spent alot of time on this and I can't figure it out... please help....
fullname is 40 characters long and is first and last name
phone is 10 characters long and is a phone number
curdate is 8 characters long and is the date the record was written to the 9600.dbf file.