I have an Access 2000 database that has a field set to Yes/No and formatted as true/False. Nothing, I say nothing works when I try to read the fields value. i.e
Dim oRst, sQuery
Set oRst = Server.CreateObject("ADODB.Recordset"
sQuery = "Select * FROM tblPOW WHERE tblPOW.Current = -1"
oRst.Open sQuery, oConn,adOpenStatic,adLockReadOnly
I have tried every combination possible. True, -1, 0 False, Yes, No. Still I get the following error.
error '80004005'
Unspecified error
This is such a basic and simple little query why wont it work? I do have no problem updating the field as true or false though.
For 3 Friggin years I have never gotten this field type to behave as it should or was intended by MicroSUCKS!
Dim oRst, sQuery
Set oRst = Server.CreateObject("ADODB.Recordset"
sQuery = "Select * FROM tblPOW WHERE tblPOW.Current = -1"
oRst.Open sQuery, oConn,adOpenStatic,adLockReadOnly
I have tried every combination possible. True, -1, 0 False, Yes, No. Still I get the following error.
error '80004005'
Unspecified error
This is such a basic and simple little query why wont it work? I do have no problem updating the field as true or false though.
For 3 Friggin years I have never gotten this field type to behave as it should or was intended by MicroSUCKS!