Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG2: SQL SELECT does not see open alias
Message
From
01/04/2005 04:13:57
 
 
To
01/04/2005 03:59:44
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01000541
Message ID:
01000553
Views:
33
>Hi Fabio,
>
>>and this ?
>>
>>USE MyInternalTable
>>MESSAGEBOX(SET("Datasession"))
>>EXECSCRIPT([MESSAGEBOX(SET("Datasession"))])
>>EXECSCRIPT("MESSAGEBOX(USED('MyInternalTable'))")
>>
>
>that all works like expected. The problem seems to be that the SQL SELECT does not see an alias that was established within the EXE and tried to access that outside of the EXE.
>
>Walter,

MyInternalTable's DBF is ?
MESSAGEBOX(DBF('MyInternalTable'))
AND WITH A COMPILE PRG:
STRTOFILE([SELECT*FROM MyInternalTable],"test.prg")
COMPILE "test.prg"
DO TEST
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform