I have query build from Visual Studio 2005. I am inserting records from SQL database to Access.
My query is
insert into i_mails
(id,from_mails,to_mails,cc_mails,subject,body,
anchor_level_id,attachment,forward_status ,reply_status,delete_status, read_status,
received_date,response_date,
batch,forward_score,delete_score,priority,
is_auto_reply,parent_mail_id,case_id,time_bound)
values (1,'[email protected]', '[email protected]','[email protected]', 'Hi','--long html field--',
7 , 'True' ,False,False,False,False,
#12/12/2000 00:00:00# ,#12/12/2000 00:00:00#,
0, '0','0', 1 ,
'False',0,2,0)
I get Data Type Mismatch in criteria expression Error..
Not knowing where this error is firing in Query ... Please Help !!
Access Database Structure:
Id - Number,
from_mails - Memo,
to_mails - Memo,
cc_mails - Memo,
subject - Memo,
body - Memo,
anchor_level_id - Number,
attachment -Yes\No,
forward_status - Yes\No,
reply_status - Yes\No,
delete_status - Yes\No,
read_status - Yes\No,
received_date - DateTime,
response_date - DateTime,
batch - Number,
forward_score - Number,
delete_score - Number,
priority - Number,
is_auto_reply - Yes\No,
parent_mail_id - Number,
case_id - Number,
time_bound - Number,