Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias Temp disappears
Message
 
 
À
24/01/2006 19:07:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01089951
Message ID:
01089976
Vues:
18
Do you have a timer running that could cause such side-effect?

>Here is a funny one. I have a cursor named Temp and it disappears in the middle of nowhere. Here is the code:
>
>
>   * If we check for the owner
>   IF This.lOwner
>      lnValue=EVALUATE(This.cOwner)
>      IF lnValue<>gnMember
>addjavascriptmessage(IIF(USED('temp'),'oui8','non'))
>         This.cHtml='Unexpected situation #2'
>addjavascriptmessage(IIF(USED('temp'),'oui9','non'))
>         RETURN .F.
>      ENDIF
>   ENDIF
>
>
>The first message says Oui8. Which means, alias Temp exists. The next line is really simply. It only store a string in This.cHtml. But, on the next line, the messays says Non. What is going on in here?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform