D
Dale Fye
I have two queries that I join with a union query. I want to use this union
query to generate a series of emails to co-workers via SendObjects. The
queries run fine as standalone queries but fail with the listed message when
I attempt to create the recordset in my code.
The individual queries each point to separate checkboxes on a form, and I
have added the references to these checkboxes as parameters in the individual
queries and have both references listed as parameters in the union query.
The union query runs fine as a standalone, but generates the error when I
attempt to open it as a recordset. The parameters definition in the union
query looks like:
PARAMETERS [Forms]![frm_Cap_Tasks_Warning]![chk_Cap_Team] Bit,
[Forms]![frm_Cap_Tasks_Warning]![chk_Reviewer] Bit;
Dale
query to generate a series of emails to co-workers via SendObjects. The
queries run fine as standalone queries but fail with the listed message when
I attempt to create the recordset in my code.
The individual queries each point to separate checkboxes on a form, and I
have added the references to these checkboxes as parameters in the individual
queries and have both references listed as parameters in the union query.
The union query runs fine as a standalone, but generates the error when I
attempt to open it as a recordset. The parameters definition in the union
query looks like:
PARAMETERS [Forms]![frm_Cap_Tasks_Warning]![chk_Cap_Team] Bit,
[Forms]![frm_Cap_Tasks_Warning]![chk_Reviewer] Bit;
Dale