Relation window

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
 
K

Krzysztof Pozorek [MVP]

(..)
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?

DoCmd.RunCommand acCmdRelationships
Or
CommandBars.FindControl(id:=523).accDoDefaultAction

K.P.
www.access.vis.pl
 
T

Tony Toews [MVP]

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

Just curious. Why would you want to do this?

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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