TZQuery - wrong determining of parameters type ?

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
thcom
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 29.06.2007, 12:51

TZQuery - wrong determining of parameters type ?

Post 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
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

try:

Code: Select all

qu_insert_polozka_.ParamByName('param_count').AsInteger := 40000; 
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
Post Reply