>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 ...