Home General

Problem With Functions

edited August 2001 in General


Using Delphi 5/ReportBuilder 6.0 I get an invalid Variant conversion
with the following Variable in an rtm file:

Tax.Value:=FormatCurr(',#0.00',
PipeDeal['STaxAmount1']+PipeDeal['STaxAmount2']);

Tax.Value:=CurrToStr(PipeDeal['STaxAmount1']+PipeDeal['STaxAmount2']);



Tax is actually a tppvariable of string type. The code is in the
BuyerName1 calculation so we use tax.value rather than value.



Why doesnt this work ???





Neil Huhta

Comments

  • edited August 2001

    Can you try this with RB 6.01 and if you still have an issue, send a
    simple example to support@digital-metaphors.com. Thanks in advance.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.