Greg,
The syntax problem in your statement is related to the word Option. This is
not a great field name since it is a Keyword. If you must use it you can
simply enclose it in square brackets as in:
insert into tblnewoptions ([Option], OptionCode, AllocGroup) values('test
desc',
'test code', 'test alloc');
I tested this and it worked fine in Access 2000.
HTH,
Dave Smith
> this is the code that's giving me a syntax error:
>
> insert into tblnewoptions (Option, OptionCode, AllocGroup) values('test desc',
> 'test code', 'test alloc');
kaosyeti - 18 May 2007 16:30 GMT
that fixed it. i knew enough to stay away from 'date' and 'year' and a
handful of others, but never thought that 'option' was a keyword. thanks!
>Greg,
>
[quoted text clipped - 16 lines]
>> insert into tblnewoptions (Option, OptionCode, AllocGroup) values('test desc',
>> 'test code', 'test alloc');

Signature
Greg