You'll have to coax the DataMapper to handle the Access Yes/No field by specifying "Boolean" either inline or in a parameterMap.

Roberto

On 9/12/05, Ling Wang <[EMAIL PROTECTED]> wrote:
I downloaded the tutorial and added a boolean
(yes/no)field (PER_IS_MALE) to the person table. I
also added a bool field to the person class and added
all the mappings in the personhelper.xml file. When I
run the application, I am getting the failures:

System.Data.OleDb.OleDbException: Syntax error
(missing operator) in query _expression_ '? PER_IS_MALE
= ?'.

Can someone take a look and confirm it? It should only
take less than 10 minutes.

Thanks.

Ling

Reply via email to