Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query doesnot take the variable
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Query doesnot take the variable
Divers
Thread ID:
00563313
Message ID:
00563313
Vues:
50
I can run the following query to create the remote view
Create SQL VIEW rv_SCRFOR;
connection SCRFOR;
as SELECT * FROM LH901701.DBF
but if i use the variable like

gcTable = GETFILE('DBF', 'select a dbf:', 'Ok', 0,;
'Select Or Cancel')
gcTable = UPPER(ALLTRIM(Right(gcTable,12)))
Create SQL VIEW rv_SCRFOR;
connection SCRFOR;
as SELECT * FROM (gcTable)

where gcTable has value "LH901701.DBF", it gives me error

Also Is there any way that I can select the files and get those files in some variable one by one, without allowing the user to select the file first


Thanks Bharat
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform