Advice Please

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Can someone explain me the following string for what?

"SELECT MyTable.*, False AS Expr2 FROM MyTable WHERE (((False)<>False))"

I think this will not bring any record on subform; any better solution which
i can replace this string?

Thanks in advance
 
The Where Clause is to make sure you don't get any records, typically used
as a recordsource before the user makes a selection instead of returning all
rows from large tables

Clearer to understand would be to use:
SELECT MyTable.* WHERE 1=0

HtH

Pieter
 
Thank you very much

Pieter Wijnen said:
The Where Clause is to make sure you don't get any records, typically used
as a recordsource before the user makes a selection instead of returning all
rows from large tables

Clearer to understand would be to use:
SELECT MyTable.* WHERE 1=0

HtH

Pieter
 

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