Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select table problem
Message
From
24/01/2005 19:17:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/01/2005 19:06:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00980239
Message ID:
00980241
Views:
19
If "TempFile" is a variable, you should select it as follows:
select (TempFile)
>I have created a template.dbf. In the fields of the template are the names of tables I would like to select as the app executes. As the app proceeds through the template, it loads a field into variable named TempFile. I would like to be able to use the variable to select the table that is named in the alltrimmed(template field) and passed to TempFile . . .. like this
>
>Select TempFile
>
>Is there a slick way to allow me to do this?
>
>As it is, the app crashes on the select statement. Debug shows the contents of TempFile to be correct but with quotes.
>
>Each table has a workarea assigned.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform