T
tiger
I am getting syntax error message from this Insert Into query...this is a
jet database. Accomplishment is a text type, ImsRef is a number type, [Key]
is a radio button, [Date] is a date type, ProgramIPT is a text type. This
different queries are all the same but I am getting error messages from them
all. All the values are coming from a textboxes on a form.
CommandText = "INSERT INTO tblAccomplishment(" & _
"Accomplishment, ImsRef, [Key], [Date],
ProgramIPT) "& _
"VALUES ("&chr$(34)&Accomp1 &chr$(34)& "," & _
Text36& "," &chr$(34)&Option88&chr$(34)& "," & _
Format(txtDate1, "\#mm\/dd\/yyyy\#")& "," & _
chr$(34)&txtIPT&chr$(34)& ")"
Thanks
Tiger
jet database. Accomplishment is a text type, ImsRef is a number type, [Key]
is a radio button, [Date] is a date type, ProgramIPT is a text type. This
different queries are all the same but I am getting error messages from them
all. All the values are coming from a textboxes on a form.
CommandText = "INSERT INTO tblAccomplishment(" & _
"Accomplishment, ImsRef, [Key], [Date],
ProgramIPT) "& _
"VALUES ("&chr$(34)&Accomp1 &chr$(34)& "," & _
Text36& "," &chr$(34)&Option88&chr$(34)& "," & _
Format(txtDate1, "\#mm\/dd\/yyyy\#")& "," & _
chr$(34)&txtIPT&chr$(34)& ")"
Thanks
Tiger