Page 1 of 1

FindParam bug: Cannot find parameters once one parameter was not found

Posted: Mon 05 Jun 2006 11:11
by Martin B
Hello,

I am using FindParam to avoid hard exceptions when queries at customers' server have not been updated.

The manual says:
"Use this method rather than a direct reference to the Items property to
avoid depending on the order of the entries."

The problem is that when a parameter is not found, ALL subsequent FindParam fail !!

FindParam cannot find any parameters once a parameter was _not found_. Can this method only be used for parameters that exist? :(


//Martin

Posted: Mon 05 Jun 2006 11:34
by Martin B
Ahhhh...

I used the same query component to insert the error into a database.
So the SQL.Text was changed once a parameter was not found...

Hmm... :roll: