Passing a Table Name as a Parameter
Posted: Thu 28 May 2009 10:37
Is it possible to pass a table name in to a TMyQuery component as a Parameter?
I have the following, but it complains that the table name is invalid.
SELECT
:Field
FROM
:Table
WHERE
:Field = :Cust_Code
I'm trying to iterate through all the tables in a Database searching for a specific Field to change its value.
Is this possible?
I have the following, but it complains that the table name is invalid.
SELECT
:Field
FROM
:Table
WHERE
:Field = :Cust_Code
I'm trying to iterate through all the tables in a Database searching for a specific Field to change its value.
Is this possible?