Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffer-aloes?
Message
From
19/03/1999 13:26:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00199852
Message ID:
00199867
Views:
17
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
Map
View

Click here to load this message in the networking platform