Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffer-aloes?
Message
De
19/03/1999 13:26:38
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00199852
Message ID:
00199867
Vues:
19
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform