Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form and Datasession problem
Message
De
01/04/2004 12:52:44
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
31/03/2004 14:52:40
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00891069
Message ID:
00891524
Vues:
34
Hi Mike

I haven't used the DE for over 2 years now, but I did and for a long time. In VMP, the solution to this problem (for non n-tier non-class based forms) has always been to put a call in the DE's BeforeOpenTables method to a method in the form superclass' called DEBeforeOpenTables. The first line of that method? SET TALK OFF ;) This method also calls another method that establishes YOUR preferences for private data session specific settings. That's one of the best things about frameworks. You don't have to do this kind of learning the hard way. VMP has business and data objects. They are better than hard coding USE commands in the form Load.

VMP lets you use SCX based forms with or without the DE, or VCX based forms, with or without business objects.

I didn't really go the extra mile. That was just to demonstrate the steps necessary to solve the problem.

>Hi Mike,
>
>That was it.
>
>The good news is, without doing anything else, I put SET TALK OFF in the form's dataenvironment's BeforeOpenTables and no more "talking in the VFP SCREEN"!
>
>The "bad" news is, I've already converted all my form scx's to classes (simple as opening the form and selecting Save as class...) to avoid the "talking".
>
>I'm very glad that you found the root of the problem though. I'm going to keep that one for future reference :) I wonder if anyone else has seen this behavior?
>
>Thanks again for "going the extra mile".
>
>Regards,
>
>Mike
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform