Mike Yearwood
Toronto, Ontario, Canada
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
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
>
>
Previous
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