Is there way to add a temporary criteria to a queries field, that query is used for a reports record source.
I do have a code which changes one of the queries criteria into another, using .Parameters, something like this.
But how could I add a temporary criteria to a field which doesnt have a criteria?
It might me a silly question, but forgive me, Im still learning
Thanks
I do have a code which changes one of the queries criteria into another, using .Parameters, something like this.
Code:
Set MyQry = MyDb.QueryDefs("qryQuery1")
MyQry.Parameters("forms!frmFormName!cboControl") = [Forms]![frmFormName1111]![cboControl]
But how could I add a temporary criteria to a field which doesnt have a criteria?
It might me a silly question, but forgive me, Im still learning
Thanks
Last edited: