Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding Future Records

Status
Not open for further replies.

polymath5

MIS
Dec 23, 2000
512
US
Hi all,

Perhaps you can give me some direction here?

I want to find in database A records dated in the future. I want only records that have either PercentField >0 or TextField is neither empty nor "None".

Why doesn't this selection work? Does it have something to do with the fields containing nulls?
datetime{A.Date}>{2001,07,29,00,00,00} and ( A.PercentField >0 or (not isnull(A.TextField) and A.TextField <>&quot;None&quot;)

Thanks very much for any insights!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top