Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query doesnot take the variable
Message
From
02/10/2001 17:04:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Query doesnot take the variable
Miscellaneous
Thread ID:
00563313
Message ID:
00563313
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform