Subject | Re: [IBO] AsInt64 |
---|---|
Author | Nando Dessena |
Post date | 2004-05-29T04:04:51Z |
Hans,
H> IBOQuery.ParamByName('name').AsInt64 := Generator.value doesn't compile
H> anymore in IBO4.Aa
H> Any ideas ?
Yes. That must be because of the fix that brought TIB_Column out of
the equation. The code above should have never worked, since TParam
doesn't have an AsInt64 property. Instead, it deals with int64 through
AsVariant, so:
IBOQuery.ParamByName('name').AsVariant := Generator.value
should compile and work fine. BTW, which version of Delphi do you
have? I seem to remember problems with int64 params in older versions.
Ciao
--
Nando Dessena
mailto:nandod@...
H> IBOQuery.ParamByName('name').AsInt64 := Generator.value doesn't compile
H> anymore in IBO4.Aa
H> Any ideas ?
Yes. That must be because of the fix that brought TIB_Column out of
the equation. The code above should have never worked, since TParam
doesn't have an AsInt64 property. Instead, it deals with int64 through
AsVariant, so:
IBOQuery.ParamByName('name').AsVariant := Generator.value
should compile and work fine. BTW, which version of Delphi do you
have? I seem to remember problems with int64 params in older versions.
Ciao
--
Nando Dessena
mailto:nandod@...