>hi,
>
>how i can see,
>Could it be character instead of numeric.
>
>thanks .
>m.qasem
Or some other invalid number. Check it before executing the SQL.
= messagebox(m.lnNumberToExtract)
=messagebox("Vartype " + vartype(m.lnNumberToExtract))
If it's not broken, fix it until it is.
My Blog