How I do it now :
At the moment I copy the selected record to the temp/cursor file and after
the user delete or update the record, I will delete all the selected records
in the transaction file and append all the record from temp/cursor again.
I have found it's a very stupid and no efficiency way to do it in VFP.Is
there any better solution for me to do it?
I am using free table for the program.
Sorry for my english. Maybe I can use following example to make it more
clear
Transaction file (Sales.DBF)
InvNo
InvDate
InvAcno
InvQty
InvPrice
InvAmt
When user press "Edit/Delete" button (I will copy the selected record to
temp/cursor file)
e.g. InvNo. IV10001 (total records are 5 for this InvNo.) copied to
temp/cursor named "tmptrans"
When use press "Save" button (I will delete all the selected record in
Sales.DBF and appen from temp/cursor file again)
e.g.
Select Sales.DBF
Delete for InvNo="IV1001"
Appen from tmptrans (Only 4 records added coz 1 record deleted in
temp/cursor by user)
Thanks for any input.
Enuz