Ok here's my problem....
I have a custom dialog box that allows the user to enter information to
run a Parameter Query. This works GREAT, but I need that query to show
as a form, not just the basic query screen. I have created the form,
but how in the world do I get it to open based on the parameter query
created by the user.
Ugg... ok now even I'm confused... what a tangled web we weave...
GRRRRR
To simplify...
1) user opens frmRecordSearch
2) user enters the paramiters for the query, ie. ClientID or CaseNumb,
and clicks ok
3) the ok button runs the Query using the following code:
Private Sub cmdOK_Click()
DoCmd.OpenQuery "qryCaseFil es",
acViewNormal, acEdit
DoCmd.Close acForm, "frmRecordSearc h"
End Sub
4)User see's the query results...
How can I display the results in a form not the query window???
I have a custom dialog box that allows the user to enter information to
run a Parameter Query. This works GREAT, but I need that query to show
as a form, not just the basic query screen. I have created the form,
but how in the world do I get it to open based on the parameter query
created by the user.
Ugg... ok now even I'm confused... what a tangled web we weave...
GRRRRR
To simplify...
1) user opens frmRecordSearch
2) user enters the paramiters for the query, ie. ClientID or CaseNumb,
and clicks ok
3) the ok button runs the Query using the following code:
Private Sub cmdOK_Click()
DoCmd.OpenQuery "qryCaseFil es",
acViewNormal, acEdit
DoCmd.Close acForm, "frmRecordSearc h"
End Sub
4)User see's the query results...
How can I display the results in a form not the query window???
Comment