Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Delphi 2007 supports varShortInt in variants
Tue, Aug 16 2011 1:01 PMPermanent Link

Daniel Zimmerman

Hi,

I was receiving Conversion Error when assigning values to parameters.
The exception is raised in edbvalue TEDBValue.SetAsVariant because varShortInt is not accepted.
This particular piece of code is:

        case VarType(Value) of
           {$IFDEF D12ORHIGHER}
           varSmallint,varByte,varShortInt:
           {$ELSE}
           varSmallint,varByte:
           {$ENDIF}
              AsSmallInt:=SmallInt(Value);

David
Tue, Aug 16 2011 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< I was receiving Conversion Error when assigning values to parameters. The
exception is raised in edbvalue TEDBValue.SetAsVariant because varShortInt
is not accepted. This particular piece of code is:>>

Thanks, I'll make sure this is corrected in the next build.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image