The trouble is not really the sql thing is how to write it in C++. The SQL query is exactly the the query I wrote before.
I just don't know how to write this un C++... do you JohnFill?!?!?
If you still don't understand what I don't understand it's: if I try to put this query my m_strFilter would look like "x=x union select *** from B where........" and this looks a bit dumb to me.
Or if you could just explain me how do I use the CDatabase object or the CQueryDef object to make a "UNION" query?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.