Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to add tables to a relationship view in Access using VBA. Does anyone know how to do this? I know how to manually do it but i need to automate it. Any help will be greatly appreciated. Thanks.
Posted

1 solution

Hello ,

The best way is to create with the inbuilt Table design and relationship option but if you want to learn pls follow this

Reference for creating table :

http://msdn.microsoft.com/en-us/library/office/ff837200.aspx[^]

Reference for creating the relationship between them:

VBA code for creating MS Access Relations[^]


All the Best:)Pls write back if you are facing any issues withe code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900