Link to home
Start Free TrialLog in
Avatar of Swn-Y-Mor
Swn-Y-Mor

asked on

Check Box SQL

I am using a Yes/No checkbox in my access DB and want to display all records on a page which have checkbox ticked.

rsItem.Source = "SELECT * FROM tblItem WHERE ItemYesNo = '1' ORDER BY ItemRef ASC"

The above code doesn't work.
Any suggestions?
Avatar of Vallenwood
Vallenwood

Please clarify. What database are you using, and what scripting language?
Avatar of Swn-Y-Mor

ASKER

I mentioned Access database in the question.
Sorry, forgot to mention ASP and VBScript
ASKER CERTIFIED SOLUTION
Avatar of Dushan Silva
Dushan Silva
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial