First off thanks in advance.
Now, onward.
I'm not a real programmer, just a piddler of sorts. I'm developing an application for my job that will ease a process up. It's a simple database program to store equipment checked in/ checked out states. I am using Access2000 for the database structure, and Visual Basic 6 for the dev enviornment. There is a table in the database called ProjList, with only a handfull of fields. One of those is a 'Yes/No' field called 'IsCheckedOut'. I want to query the database and return a recordset containing all fields where 'IsCheckedOut' is Yes/True; however, my believed statement of:
----------
SELECT * FROM ProjList WHERE IsCheckedOut = True
----------
seems not to work. 0 records are returned (the recordset's .RecordCount is -1)
My instinct tells me it has something to do with how I need to specify boolean values in the query.
Any help would be appreciated.
Now, onward.
I'm not a real programmer, just a piddler of sorts. I'm developing an application for my job that will ease a process up. It's a simple database program to store equipment checked in/ checked out states. I am using Access2000 for the database structure, and Visual Basic 6 for the dev enviornment. There is a table in the database called ProjList, with only a handfull of fields. One of those is a 'Yes/No' field called 'IsCheckedOut'. I want to query the database and return a recordset containing all fields where 'IsCheckedOut' is Yes/True; however, my believed statement of:
----------
SELECT * FROM ProjList WHERE IsCheckedOut = True
----------
seems not to work. 0 records are returned (the recordset's .RecordCount is -1)
My instinct tells me it has something to do with how I need to specify boolean values in the query.
Any help would be appreciated.