Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUdate = .T. but not really
Message
From
05/03/2008 07:28:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01298786
Message ID:
01298832
Views:
17
>I have table buffering set to 5 but when I issue TableUpdate(.T.,.T.,MyTable) it returns true, but the table is not really updated. The values in the fields are not changed. They are changed on the screen by editing, and the tableupdate returns .T., but the physical table is not changed.
>
>Shouldn't that be an Integer as the first parameter in tableupdate()? Such as TableUpdate(1,.t.,MyTable)?

In VFP 3, the parameter was .T. or .F. In later versions, additional option were required, so they changed it to numeric - but the logical parameter should still work. I guess 0 would be the same as .F., and 1 the same as .T.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform