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!

SELECT Problem

Status
Not open for further replies.

ukwebsite

Programmer
Dec 9, 2000
82
GB
Please help,

I’m running an SQL statement through an Access DB the following command works fine.

SELECT * FROM Ladies_Dresses WHERE Authorised = 'checked'

I want the statement to pull out the fields where Authorised doesn’t = checked.

EG

SELECT * FROM Ladies_Dresses WHERE Authorised = ''

OR

SELECT * FROM Ladies_Dresses WHERE Authorised <> 'checked'

Each of these both produces no records. I don’t get any errors. The database can either contain the word checked or contain nothing, I have 3 records in my DB 2 have the word checked in Authorised and 1 record has nothing.

Please help?

Cheers

Matthew





Matthew Wilde
matthew@ukwebsite.com
 
SELECT * FROM Ladies_Dresses WHERE Authorised NOT LIKE 'checked';




Wushutwist


Sun Certified Java 2 Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top