H
hanski
Hi.
I have a simple recordset:
Dim Town as New ADODB.connection
Dim Base as New ADODB.recordset
....
....
open.Base "select * from MyDatabase where Field1 =
true",Town,adOpenDynamic, adLockOptimistic
And when I start it, it says:" Invalid column name 'true'.
Field1 has bit-type.
How can I tell it that I want to have all fields that have value True?
Hannu
I have a simple recordset:
Dim Town as New ADODB.connection
Dim Base as New ADODB.recordset
....
....
open.Base "select * from MyDatabase where Field1 =
true",Town,adOpenDynamic, adLockOptimistic
And when I start it, it says:" Invalid column name 'true'.
Field1 has bit-type.
How can I tell it that I want to have all fields that have value True?
Hannu