T
trawets
Hi
I had asked before about how to make a value of a combo box depend on
another, I received good information on what and how to do it, my
question now is how do open a form from the second combo box at the
chosen record.
What I have now is a form "find contact" which has two combo boxes
where I can choose a company and then a name from that company, from
my
command button I can run the query which find thew chosen entry but I
would like to open the "contacts" form at the specific entry.
my cmd button so far is
Private Sub Run_Click()
DoCmd.OpenQuery "qrycontacts"
DoCmd.OpenForm "Contacts" ( I need to know what syntax I can out here
to open at specific record)
DoCmd.Close acForm, "Find Contact"
DoCmd.Close acQuery, "qrycontacts"
End Sub
\the query may not be neccessary I think
I have searched and have seen a few suggestion but its difficult
finding the best solution and some seem quite complicated
Thanks in anticipation
I had asked before about how to make a value of a combo box depend on
another, I received good information on what and how to do it, my
question now is how do open a form from the second combo box at the
chosen record.
What I have now is a form "find contact" which has two combo boxes
where I can choose a company and then a name from that company, from
my
command button I can run the query which find thew chosen entry but I
would like to open the "contacts" form at the specific entry.
my cmd button so far is
Private Sub Run_Click()
DoCmd.OpenQuery "qrycontacts"
DoCmd.OpenForm "Contacts" ( I need to know what syntax I can out here
to open at specific record)
DoCmd.Close acForm, "Find Contact"
DoCmd.Close acQuery, "qrycontacts"
End Sub
\the query may not be neccessary I think
I have searched and have seen a few suggestion but its difficult
finding the best solution and some seem quite complicated
Thanks in anticipation