Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment problem
Message
 
To
19/04/1999 12:07:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00209706
Message ID:
00209710
Views:
19
Where are you making your call to your custom method... or is it just a method sitting there... If no call made, you might want to call it from the form LOAD event as a default...

>HELP:
>
>I have the following heirachy:
>VFP Form
> BaseForm (Insulation layer)
> myBaseForm (with several custom methods & properties)
> myForm
>
>myBaseForm has a method call frmSetupDataSession that contains code (MAYBE it shouldn't)
>
>myForm has the following code in frmSetupDataSession:
>LPARAMETERS plkeepvfpdefaults
>set step on
>dodefault(plkeepvfpdefaults)
>
>myForm.DataEnvironment.BeforeOpenTables contains the following code:
>set step on
>thisform.frmSetupDataSession
>
>When I trace into the form, I get a breakpoint on BeforeOpenTables. When I use the trace button, the next line that "breaks" is in myBaseForm.frmSetupDataSession. I NEVER get a "break" in myForm.frmSetupDataSession. What am I doing wrong?
>
>TIA
>Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform