Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias Temp disappears
Message
From
24/01/2006 19:07:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Alias Temp disappears
Miscellaneous
Thread ID:
01089951
Message ID:
01089951
Views:
83
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform