Subject [IBO] IBOQuery w/ Int64 Param??
Author jwharton@ibobjects.com
Make it a type string parameter and set the AsString property of the TParam.
Then, when it is transferring the value to the internal TIB_Column object it will be converted to the binary int64 value.

Jason Wharton

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Jason,

I just updated one of my computers to the 4.3Aa version and noticed
that the TIBODataset.ParamByName() has been changed to return a
standard TParam. OK I can see that for TDataset compatibility.

Problem is we need to pass an In64 param to a query (lots of existing
code for this :( ).

>From reading over the existing notes about this it seems that
using .AsBCD is not a good option do to precision issues.

What is the recommended approach we should use now that the PBN has
been changed??

Thanks,

Allen.



___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/

To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/