Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate bug?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00160771
Message ID:
00161990
Views:
29
Craig,

Here it is, below. This is inside a loop in which the program tries to update all open tables.
BEGIN TRANSACTION
* Try to update all records in selected table
m.lSuccess = TableUpdate(.T.,.F.) &&successful update
IF m.lSuccess
	END TRANSACTION
	LOOP
ENDIF
ROLLBACK
- Harry


>>Not to belabor this <g>, but it moves the pointer to a DIFFERENT record after it updates the new one, instead of staying on the new one it just updated.
>>
>>
>>>>Does anyone know if there's are bugs with tableupdate in VFP5?
>>>>Problem is that sometimes it seems to move the record pointer of the table being updated, in this case a new record. It looks like it might move the pointer after it saves the data to the record.
>>>
>>>This is proper behavior. If you add a record to a table, the record pointer will move to that record.
>
>
>Could you post the code?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform