Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a relationship

Status
Not open for further replies.

rpbenito

Programmer
Jun 13, 2001
63
US
How do I create a relationship between 2 tables in VBA? Thanks
 
execute a
docmd.runsql"query code here"

as a query use alter table constraint....

you should constran columns to foreign or primary keys.
John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top