Pass thru query question

G

Guest

I sql you can put in prompts using the & sign. I use these a lot to get data
from Oracle but they do not seem to work when used in a pass thru query. Is
there a way to use prompts in a pass thru query?
 
J

John W. Vinson

Is there a way to use prompts in a pass thru query?

Only by reading the prompts from code (e.g. from a Form or an Inputbox
function call) and explicitly copying them into the SQL of the query. There is
no way for the database engine to which you are passing the query to see the
Access frontend prompt value.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top