I have an existing Pass-through query that I need to edit on the fly using code.
Specifically I need to replace a string in this passthrough query then save it back into the project whereas another Make Table query will access it.
I've tried using CreateQueryDef, but whenever I try to specify the SQL, I get errors from Access because the SQL contains non-Access understood SQL code like '||'s, etc.
Does anybody know how I can (through code) take a somewhat foreign SQL string and save it as a pass-through query in Access 97 for later use?
Cheers,
corchard
"Illegitimis non carborundum"
(don't let the b@st@rds get you down)
Specifically I need to replace a string in this passthrough query then save it back into the project whereas another Make Table query will access it.
I've tried using CreateQueryDef, but whenever I try to specify the SQL, I get errors from Access because the SQL contains non-Access understood SQL code like '||'s, etc.
Does anybody know how I can (through code) take a somewhat foreign SQL string and save it as a pass-through query in Access 97 for later use?
Cheers,
corchard
"Illegitimis non carborundum"
(don't let the b@st@rds get you down)