Subquery vs. IIF

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

Apparently a subquery and an iif statement have
overlapping functionality. Which one is better
to use in which situations?
 
IIf is an Access VBA function.

SubQuery is more or less a construct in JET SQL (and other SQL flavours) ...

While in Access Query, you can use the Access VBA IIf and in some cases. you
can use either the SubQuery construct or IIf, I prefer to use SubQuery if
possible to avoid JET having to call the Access VBA function(s) back and
forth ...
 

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

Back
Top