Subject Re: [ib-support] variant types
Author Daniel Rail
At 05/03/2002 12:11 AM, you wrote:
>Hi all,
>Is there special treatment to give variant types with FB/IB? Delphi manual
>says it can assign no problem. But when I execute this code,
>
>DataM.AxlesAXPOS.AsInteger := EDAxPos.Value;

Try,

DataM.AxlesAXPOS.AsVariant := EDAxPos.Value;

If the error still persists, then it's a possibility that EDAxPos.Value is
not an integer.


Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)