Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do away with the DE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00448659
Message ID:
00448661
Vues:
14
Joe,
I would put it as a call from the Load event of your form. I would not put it as a method of your application object especially of it is also a form with a datasession. Anything you open there will be open in that datasession and not necessarily the form's.

>I'd like to ditch the DE and set up my environment in code. It's a simple task and I've also used udDE for verification that I did it right. Where
>can I put the code though? I have an application object that has a method "CreateDE" that I put the code. Here's a look at the DE code...
>
>use config in 0 shared
>=CURSORSETPROP("Buffering", 3)
>
>The application object is subclassed from the form class if that matters.
>I call this from the application...
>.
>oApp.CreateDE
>oApp.ShowForm && This starts the main form with "do form main"
>
>Problem is that the buffering never works.
>As soon as I try a tableupdate I get a message saying that the function required row or table buffering.
>
>What have I done wrong?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform