B
Beemer Biker
I had a SQL select statement that worked perfectly when testing using the
access wizard. For example
SELECT EmployeeInfo.Section, EmployeeInfo.Department from EmployeeInfo WHERE
blahblahblah
this ran fine in Access 2007 query test window even though Section seems to
be a reserved word (which I didn't know at the time). It failed miserably
when
AccessDataSource1.SelectCommand = "SELECT EmployeeInfo.Section,
EmployeeInfo.Department from EmployeeInfo ";
was executed with the error message IErrorInfo.GetDescription failed with
error code (0x8...blahblahblah)
Anyway, it would have been nice to have the error handler say that "Section"
was a reserved word.
sorry for the rant
access wizard. For example
SELECT EmployeeInfo.Section, EmployeeInfo.Department from EmployeeInfo WHERE
blahblahblah
this ran fine in Access 2007 query test window even though Section seems to
be a reserved word (which I didn't know at the time). It failed miserably
when
AccessDataSource1.SelectCommand = "SELECT EmployeeInfo.Section,
EmployeeInfo.Department from EmployeeInfo ";
was executed with the error message IErrorInfo.GetDescription failed with
error code (0x8...blahblahblah)
Anyway, it would have been nice to have the error handler say that "Section"
was a reserved word.
sorry for the rant