Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG2: SQL SELECT does not see open alias
Message
De
01/04/2005 04:13:57
 
 
À
01/04/2005 03:59:44
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01000541
Message ID:
01000553
Vues:
32
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform