Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Isnull() Intermittant Return Value
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00887276
Message ID:
00887301
Views:
9
John,

Isnull("oCustbals") will always return .F., since the argument is always the "oCustbals" string.
Try
Isnull(m.oCustbals)
Sorin


>I create a form and use a public variable oCustbals to reference it. I initialise oCustbals = .NULL.
>
>Later if I want to trigger the Activate method in the custbals form from another form I use this methology
> IF NOT IsNull("oCustbals")
> oCustbals.Activate
> ENDIF
>Sometimes I get an error stating oCustbals is not an object when oCustbals is showing in the debug window as .NULL. and Isnull(oCustbals) shows as .T.
>Even if I use the following code the wait window is ignored:
> oCustbals = .NULL.
> IF IsNull("oCustbals")
> wait window
> ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform