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 08:33:21
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:
01000605
Vues:
41
Hi sergey,

>It looks like a bug in EXECSCRIPT() to me.

I'm not sure if it is. It looks like a bug in SQL-SELECT to me, since it now does not pickup the open alias anymore, but goes looking for the actual file given by the DBF() function.

That indeed would fail when the alias comes from an internal file and the SQL-SELECT runs externally from the exe.

Walter,


>>In VFP8 I could do the following with a table included into the exe (thus not available on disk).
>>
>>
USE MyInternalTable
>>EXECSCRIPT("SELECT * FROM MyInternalTable")
>>
>>In VFP9 this does not work anymore. VFP9's SQL SELECT simply does not see the open alias and attempts to open it from disk.
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform