Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate
Message
From
01/11/1999 12:35:50
 
 
To
01/11/1999 12:03:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00284844
Message ID:
00284880
Views:
10
>MyForm has a grid in which I display MyView for editing. I have a Save button and a Cancel button on MyForm. I want to use the Save button to update MyTable and the Cancel button to discard changes. Simple enough, but I cant make any sense out of TableUpdate(1,.T.,MyTable,?,?) which I have in the click of the Save button. I get error messages "alias not found".

With TableUpdate, you have to put your alias as a string, ie surrounded by quotes. Try this:

TableUpdate(1, .T., "MyView")

And by the way it is the view's alias that goes there, not the table's.
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform