J
John F.
Hi:
I have a button (btnAddServices) on a form which opens a linked form
("SERVICES") using 'OpenForm':
Private Sub btnAddServices_Click()
DoCmd.OpenForm "SERVICES", , qryGetServices
End Sub
The qryGetServices has 2 parameters which the user is supposed to enter (if
I open the query on its own, it requests the parameters and opens the
correct, limited number of records). At no time does the program ask for
these pramaters when the button is clicked; instead it opens 'SERVICES'
showing all records.
Why does it ignore the query?
Thank you.
johno
I have a button (btnAddServices) on a form which opens a linked form
("SERVICES") using 'OpenForm':
Private Sub btnAddServices_Click()
DoCmd.OpenForm "SERVICES", , qryGetServices
End Sub
The qryGetServices has 2 parameters which the user is supposed to enter (if
I open the query on its own, it requests the parameters and opens the
correct, limited number of records). At no time does the program ask for
these pramaters when the button is clicked; instead it opens 'SERVICES'
showing all records.
Why does it ignore the query?
Thank you.
johno