help referencing selections

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have three forms on the first you select a command button (choice of 12)
that opens the second form which gives you a choice of A and B when you
select either it opens either form A or B which are the same design but
different data in them. On this third form i have 16 different command
buttons. what i require to do is when the third form opens it only shows the
corresponding command button that was selected on the first form.

1 First form select Button 5
2 Second form select A or B
3 Third form only show command button 5

i know how to make the buttons visible or not visible but not sure where to
put the code and how to refer back to my first selection.

many thanks in advance
 
I would use "OpenArgs". This is the last arguement in Docmd.Form.Open and is
similar to a global string variable which is recognised by the target form in
Me.OpenArgs
 
Thanks appreciate help

RickW said:
I would use "OpenArgs". This is the last arguement in Docmd.Form.Open and is
similar to a global string variable which is recognised by the target form in
Me.OpenArgs
 

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

Back
Top