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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where SQL statement for Not Null Field (Memo type)

Status
Not open for further replies.

flor

Programmer
Oct 10, 2002
3
MX
I want to set a condition for a selection where Refer field which is of Memo type is not null...

SELECT Address.org_code, Address.post,;
Address.org_name, Address.refer FROM Address;
WHERE Address.refer IS NOT NULL;
ORDER BY Address.org_code

but seems it doesn't work

flora
 
I don't the value NULL applies to a memo.
Code:
SELECT Address.org_code, Address.post,; 
Address.org_name, Address.refer FROM Address;
WHERE !EMPTY(Address.refer);
ORDER BY Address.org_code

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top