If in an SQL Query

S

Security

Hello

I would like to execute and SQL query in access, but only in certain cases,
how ? (not in VBA, but directly in an SQL query)

May be I should use a procedure, if so, how ? could you give me an exemple ?
May be the IIF clause, but how ?

thank you
 
J

John Vinson

Hello

I would like to execute and SQL query in access, but only in certain cases,
how ? (not in VBA, but directly in an SQL query)

May be I should use a procedure, if so, how ? could you give me an exemple ?
May be the IIF clause, but how ?

thank you

You'll have to clarify what you're trying to do. What do you mean by
"execute and SQL query"? Is this an action query, e.g. an Append or
Update query, or are you trying to open a select query datasheet?
 

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