Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate
Message
From
27/07/1999 10:59:21
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00246393
Message ID:
00246622
Views:
14
>First your tableUpdate is assuming that the correct work area is selected. It is advisable to use all the arguments for TableUpdate and TableRevert to prevent bugs of something changing a work area on you.
>
>TableUpdate(1,.F.,"MyCursor")
>
>Second your getfldstate is telling you that you are on a new blank record in the cursor. I believe you want to Requery("MyCursor") for teh local view to clear it of the curretn status and update it from the original tables.

Thanks Jim, it worked. But aren't those the default values according to the MSDN documentation? My previous code was:

select lv_sea310
llRetorno = Tableupdate(1)

My actual code now is:

select lv_sea310
TableUpdate(1,.F.,"lv_sea310")


Have to remember VFP what are the defaults?

Regards and thanks

Oscar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform