D
Dr. Know
I seem to be having an unresolvable problem with an ASP page (darned
typeless scripting engines) and JET datatypes. Don't ask why we are
using JET, let's just say it has something to do with LEGACY CRAP used
by hundreds of dealers scattered over the US.
The MDB has two boolean fields and when trying to add new records with
the INSERT INTO execute method, it dies.
All works well with strings, but not with booleans.
Booleans are retrieved from the WebPage with ASP using:
strTaxable=request.form("Taxable")
These values can be 0 and 1.
Then we use :
set objparam=cm.createparameter(, adBoolean, , , cbool(strTaxable))
cm.parameters.append objparam
Crashes every time - no error number, just a vague error message that
there is a syntax error in the JET INSERT INTO statement...
However, the same code more or less works using the ODBDC drivers -
which we are trying to avoid.
Any ideas?
Dr. Know
typeless scripting engines) and JET datatypes. Don't ask why we are
using JET, let's just say it has something to do with LEGACY CRAP used
by hundreds of dealers scattered over the US.
The MDB has two boolean fields and when trying to add new records with
the INSERT INTO execute method, it dies.
All works well with strings, but not with booleans.
Booleans are retrieved from the WebPage with ASP using:
strTaxable=request.form("Taxable")
These values can be 0 and 1.
Then we use :
set objparam=cm.createparameter(, adBoolean, , , cbool(strTaxable))
cm.parameters.append objparam
Crashes every time - no error number, just a vague error message that
there is a syntax error in the JET INSERT INTO statement...
However, the same code more or less works using the ODBDC drivers -
which we are trying to avoid.
Any ideas?
Dr. Know