Hi (again)
I'm purposely generating an SQL error to test my aforementioned custom error
handling function, but I encounter a strange problem. The error string
generated by my forced error is:
SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters.
Expected 1., SQL state 07001 in SQLExecDirect
Which is exactly what I expect. However, even if in my function I have no
output, I still get the following line printed after the function exits:
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
I use Zend Studio and have debugged it and stepped through the function, and
immediately after the function finishes, it prints that line. I thought a
custom function was supposed to get around this?? I tried using the @ char
on the odbc_exec command that generates the error, but the same thing
happens. Am I missing something?
P.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003