>>
>>TableUpdate is not universal, you must issue one for each table that has pending changes in it. For example, if you have a form with the customer, invoice and invdetails tables open and modified you need to;
>>
>>TableUpdate(0,.F.,"Customer")
>>TableUpdate(0,.F.,"Invoice")
>>TableUpdate(2,.F.,"InvDetails")
>>
>>In order to update all files.
>
>Thanks, that helps a lot. I notice in the help file for TableUpdate that the first paramater is a logical. What do the 0 & 2 do in your example?
>
>Thanks
John,
You must be using VFP 3.0 then. The first argument was logical in VFP 3.0, VFP 5.0 supports both the 3.0 logical arguments or the newer numeric arguments which provide finer control over how multiple records will be updated.