brendanj68
IS-IT--Management
Hi, am setting up a 2003 Db, which has as its 'data' the table structure (Column Name, datatype, etc) of a SQL2K application. What I am trying to do is call-up a particular table name (through a parameter - as below) from a list of table names (source one), and then either via a subform (?) pull in the corrsponding field definitions from that particualr table (source two).
PARAMETERS [Table Name] Text ( 255 );
SELECT DISTINCTROW Employee.Column_Name, Employee.Type, Employee.Length, Employee.PivotalLabel, Employee.ClarityLabel, Employee.ClarityFieldName, Employee.PivotalDescription, LiveTables.Name, LiveTables.ClarityLink
FROM LiveTables LEFT JOIN Employee ON LiveTables.Name = Employee.TableName
WHERE (((LiveTables.Name)=[Table Name]) AND ((LiveTables.ClarityLink)='Yes'));
While this param has some use, I just can't see a way to retrieve the complete list of all the table names as a starter - let alone the linking bit. Is there something I have completely missed/ or a reference point I can go to to pick up on this type of request. Your help v. apprecaited.
Thanks
PARAMETERS [Table Name] Text ( 255 );
SELECT DISTINCTROW Employee.Column_Name, Employee.Type, Employee.Length, Employee.PivotalLabel, Employee.ClarityLabel, Employee.ClarityFieldName, Employee.PivotalDescription, LiveTables.Name, LiveTables.ClarityLink
FROM LiveTables LEFT JOIN Employee ON LiveTables.Name = Employee.TableName
WHERE (((LiveTables.Name)=[Table Name]) AND ((LiveTables.ClarityLink)='Yes'));
While this param has some use, I just can't see a way to retrieve the complete list of all the table names as a starter - let alone the linking bit. Is there something I have completely missed/ or a reference point I can go to to pick up on this type of request. Your help v. apprecaited.
Thanks