I have a query that is based off of quite a few other queries, one of which takes 2 parameters that are linked to a form's fields. If I open the query directly, it works fine and doesn't ask for the parameters (if the form is open of course). But if I try to set a recordset to this query, even with the form open, it says it wants 2 parameters.
Is there a way to get around this or make it work (a correct way...I've found a work around involving setting the form's recordsource to the query and then taking setting the recordset to the form's recordsetclone)? Or should I be going to the direct data and doing calculations from the beginning all in the VBA code? (The query takes raw time data of a timeclock, calculates the rounded time and gives the lengths in hours for the payroll)
Is there a way to get around this or make it work (a correct way...I've found a work around involving setting the form's recordsource to the query and then taking setting the recordset to the form's recordsetclone)? Or should I be going to the direct data and doing calculations from the beginning all in the VBA code? (The query takes raw time data of a timeclock, calculates the rounded time and gives the lengths in hours for the payroll)