Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Isnull() Intermittant Return Value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00887276
Message ID:
00887301
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform