>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