Hello,
I have designed a query (qry2) in query design that uses both a table and another predefined query (qry1) which was also designed in query view.
Problem:
I am tring to convert the query into code. I do not know how to reference the predefined query object (qry1) in my final query (qry2).
When I set up my sql string and reference the predined query object using "[qry1].fieldname" in the sql string it works. But I would like to define qry1 in code and reference it instead of the predined object.
thanks
dave
I have designed a query (qry2) in query design that uses both a table and another predefined query (qry1) which was also designed in query view.
Problem:
I am tring to convert the query into code. I do not know how to reference the predefined query object (qry1) in my final query (qry2).
When I set up my sql string and reference the predined query object using "[qry1].fieldname" in the sql string it works. But I would like to define qry1 in code and reference it instead of the predined object.
thanks
dave