G
Guest
Per the instructions detailed here...
http://www.fontstuff.com/access/acctut08.htm
....I created a parameter query in the form of a drop down box that uses a
command button to produce a query.
The code is as follows:
Private Sub cmdCreateReport_Click()
DoCmd.OpenQuery "qryUIRFollowUp", acViewNormal, acEdit
DoCmd.Close acForm, "frmOpenUIRLookUp"
End Sub
This produces the data I need in datasheet view. I want to use this same
data to populate a form I've created that will use the above data as a
springboard to add more data to another table (also connected to my form).
So what code do I need to add to the above so that instead of giving me the
datasheet view the command jumps right to the next step and feeds this data
into the form and then displays that form?
Thanks for the help,
David
http://www.fontstuff.com/access/acctut08.htm
....I created a parameter query in the form of a drop down box that uses a
command button to produce a query.
The code is as follows:
Private Sub cmdCreateReport_Click()
DoCmd.OpenQuery "qryUIRFollowUp", acViewNormal, acEdit
DoCmd.Close acForm, "frmOpenUIRLookUp"
End Sub
This produces the data I need in datasheet view. I want to use this same
data to populate a form I've created that will use the above data as a
springboard to add more data to another table (also connected to my form).
So what code do I need to add to the above so that instead of giving me the
datasheet view the command jumps right to the next step and feeds this data
into the form and then displays that form?
Thanks for the help,
David