S
Sam
Afternoon all!
I have code behind a form that generates strWhere - a where clause that
is later applied to a report based on a query...
'preview report
DoCmd.OpenReport "rptGenRpt", acPreview, , strWhere
i step through the code, and immediatley before this point i grab the
string strwhere from th eimmediate window.
if i add the where clause as the codehas built it to the query and run
the query, my results return fine.
when the code continues, and executes the above line i am instead
prompted for the parameter value of <table>.<column>
(tblEqualOps.EthnicOrig).
Ca anyone help with this?
cheers
I have code behind a form that generates strWhere - a where clause that
is later applied to a report based on a query...
'preview report
DoCmd.OpenReport "rptGenRpt", acPreview, , strWhere
i step through the code, and immediatley before this point i grab the
string strwhere from th eimmediate window.
if i add the where clause as the codehas built it to the query and run
the query, my results return fine.
when the code continues, and executes the above line i am instead
prompted for the parameter value of <table>.<column>
(tblEqualOps.EthnicOrig).
Ca anyone help with this?
cheers