Relations

E

Erwin Bormans

Hi all

I have a form with a button. When the user press that button I want to show
the relations between the tables.

Is there any vba code for?

Kind regards
Erwin
 
B

Brendan Reynolds

Erwin Bormans said:
Hi all

I have a form with a button. When the user press that button I want to
show the relations between the tables.

Is there any vba code for?

Kind regards
Erwin


Depending on the details of how you want to display the relationships, and
whether you want to display all relationships or relationships between
specified tables or whatever, it might be as simple as ...

Private Sub cmdTest_Click()
DoCmd.RunCommand acCmdRelationships
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top