Page 1 of 1

Re: About ToraQuery's Parambyname option in Direct Mode

Posted: Sun 13 Dec 2009 11:27
by tucatuca
jang wrote:Dear Plash
Why don't you answer to my question?
Please answer anywhere
In our system we have some problem on insert query
in code
oraquery.parambyname('PARAM').Value:=DataSet.FieldByName('Field').Value;
error on oraquery.execsql some time, but if
oraquery.parambyname('FIELD').asString:=DataSet.FieldByName('Field').asString;
oraquery.execsql ok

If Value of Param = Null and use Value dbMonitor displays type of PARAM as unknown, if asString VarChar(0). It is ok?

we use registered version 6.90.0.54 of odac for Delphi 7 Directmode=false

ps sorry for my bad english

Posted: Tue 15 Dec 2009 10:15
by Plash
Please describe how to reproduce the problem.