Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables in VFP
Message
From
15/12/1996 14:19:17
 
 
To
15/12/1996 14:07:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00015156
Message ID:
00015160
Views:
32
>I have the following question.
>Is it possible to use a name field in a db to store
>db names.
>Then to retrieve this name to a variable and
>then to use this variable in a SQL with the
>syntax
>INTO TABLE "variable"
>
>Or is there any other method to do the same.

I am using a TABLE.DBF which contains a field name TABLE that holds the name of each of my tables.

I don't see why you need to get this name field in a variable. All you have to do is to use the name field directly into the SQL.

SELECT * FROM tablenamehere WHERE fieldname=TABLE.TABLE ...
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform