Hi
Assuming I have 2 tables
Table1
Table1ID (Autonumber)
Name (Text)
Table 2
ID (Autonumber)
Table1ID (for table relationship)
wathebver (text)
I want to create table 2 programatically
CREATE TABLE Table2
(
IDAUTOINCREMENT PRIMARY KEY,
Table1ID INTEGER NOT NULL CONSTRAINT FK_Table1ID
REFERENCES Table1 (Table1ID),
NoteDate DATETIME
)
this is creating the relationship but the display in the table is the ID from table 1, how can i change that to be the "Name" field in Table1 like when i do it from the wizard in Access?
thank you
REFERENCES Table1 (Table1ID)
you had already referred to the field name, which is Table1ID