parallon
01-04-2007, 11:31 PM
Hello all. I have a line of code that is giving me an error, although the results are still working fine.
Here is the error:
ADODB.Command error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/rpts/pm/pm_bl_gen.asp, line 28
"SELECT Count (*) AS Total_Gen FROM tbl_wo WHERE (tbl_wo.RequestDate Between #10/1/" & cFY3 & "# And #10/31/" & cFY3 & "#) AND (tbl_wo.WoType = 'PMBC')"
I know is has something to do with the concantenation of the MM/DD/ with the variable of the year, but I am confused on the correction.
BTW, this is an Access DB.
Thanks in advance,
Parallon
Here is the error:
ADODB.Command error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/rpts/pm/pm_bl_gen.asp, line 28
"SELECT Count (*) AS Total_Gen FROM tbl_wo WHERE (tbl_wo.RequestDate Between #10/1/" & cFY3 & "# And #10/31/" & cFY3 & "#) AND (tbl_wo.WoType = 'PMBC')"
I know is has something to do with the concantenation of the MM/DD/ with the variable of the year, but I am confused on the correction.
BTW, this is an Access DB.
Thanks in advance,
Parallon