Page 1 of 1

TZQuery - wrong determining of parameters type ?

Posted: 29.06.2007, 12:57
by thcom
hi, i run some easy update query with parameters

qu_insert_polozka_.parambyname('param_count').value := 1;
so the DataType is now ftSmallInt

in second call of my query
qu_insert_polozka_.parambyname('param_count').value := 40000;

the DataType remains

and the execution of query causes an range check error

is any way to call redetermine of paramater types ?
thank you

Posted: 29.06.2007, 14:03
by gto
try:

Code: Select all

qu_insert_polozka_.ParamByName('param_count').AsInteger := 40000;