General information
Category:
Coding, syntax & commands
Is the alias you want to tableupdate really selected? I always pass the alias I want to tableupdate to the function (notice it is the third parameter).
Turning on tablebuffering in the init of your form is too late if you have autoopen set to true in your dataenvironment. Or, do you mean you set the buffer mode in the form property?
>I don't think I am using table buffering properly. Can someone help me?
>
>I turn on table buffering in the Init of my Form. Then, later on I do the command =TABLEUPDATE(.T.) and get the error message "Function requires row or table buffering mode." The weird thing is that I pressed the Save button (containing the TABLEUPDATE function) a few times in a row before I got the error message, but pressed the Edit button in between. So it is apparently working sometimes.
>
>I do the command =TABLEREVERT(.T.) for my Cancel button and it works fine. I don't get any error messages. And it reverts my changes.
>
>What causes table buffering to turn off on its own? Am I correct in setting up table buffering in the Init of the Form? And using the TABLEUPDATE function in the Save button and the TABLEREVERT functino in the Cancel button?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only