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
 
Top