Hi.
I'm using an Access 2002 DB and ASP. For the purposes of this post, the
simplied SQL statement in question is:
UPDATE dbtable SET status=" & xstat (xstat is yes/no)
The exact same code works just fine on at least a dozen different
servers in the US. It's part of a common function I use all the time.
I have a client in Brazil . When they run this code their server throws
an error...
Microsoft JET Database Engine erro '80040e10'
Nenhum valor foi fornecido para um ou mais parâmetros necessários.
(No value given for one or more necessary parameters)
BUT, I'm 100% certain that the field names and types are correct, and as
I said above, this code works fine on many servers in the US
If I hardcode: UPDATE dbtable SET status=True... it works fine.
If I hardcode:
xstat=True
SQLx="UPDATE dbtable SET status=" & xstat
response.write SQLx
The code fails with the error I mentioned... and the SQLx string looks
like: UPDATE dbtable SET status =Verdadeiro (which means True in
Brazilian)
Go figure. Any ideas what I must do to have the Engine/database
recognize the foreign language equivalent of True?
Tim
--
Posted via http://dbforums.com