first, the version you need if you're on an SQL database:
select contact1.company, contsupp.contsupref from contact1,contsupp where
contact1.accountno=contsupp.accountno and contsupp.u_contact like 'E-MAIL%'
and contsupref <>'' order by contact1.company
now, the version needed on a dBase database:
select contact1.company, contsupp.contsupref from contact1,contsupp where
contact1.accountno=contsupp.accountno and upper(contsupp.contact) like
'E-MAIL%' and contsupref <>''
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.