Relations

  • Thread starter Thread starter Erwin Bormans
  • Start date Start date
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
 
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

Similar Threads

Relation window 2
Relations 1
Make a button the default button 1
Button in toolbar that runs vba code 5
Clear a listbox 1
NavigationPart 1
DELETE Query 3
Cancel changes 4

Back
Top