Page 1 of 1

Convert method error

Posted: Fri Aug 19, 2011 12:53 am
by djm000111
I've got a function defined in a report that generates an error each time the Convert method is referenced. Anyone have an idea what is the cause of the error?

The error is: "Argument not specified for parameter 'newUnit' of 'Public Sub Convert(oldUnit As Stimulsoft.Report.Units.StiUnit, newUnit As Stimulsoft.Report.Units.StiUnit)'.

Also a similar error: "Argument not specified for parameter 'oldUnit' of 'Public Sub Convert(oldUnit As Stimulsoft.Report.Units.StiUnit, newUnit As Stimulsoft.Report.Units.StiUnit)'.

Thanks,


Convert method error

Posted: Fri Aug 19, 2011 8:39 am
by Alex K.
Hello,

Please use the following code:

Code: Select all

System.Convert.ToString()
instead

Code: Select all

Convert.ToString()
Thank you.

Convert method error

Posted: Fri Aug 19, 2011 11:00 am
by djm000111
Thank you, I should have caught that.

Convert method error

Posted: Sat Aug 20, 2011 11:04 pm
by Andrew
Ok!