Error in constructor

Stimulsoft Reports.NET discussion
Post Reply
Andre2
Posts: 47
Joined: Thu Jan 24, 2008 12:30 am
Location: Australia

Error in constructor

Post by Andre2 »

Hi There
Im getting an error whilst trying to preview the attached report in th edesigner

the code that is throwing the error is

public void Page1_BeforePrint(object sender, System.EventArgs e)
{
If CDec(SalesInvoice.BalanceDueAmt)= 0 Then
Page1.Watermark.Text= "Receipt"
ElseIf CDec(SalesInvoice.BalanceDueAmt) <0 Then
page1.Watermark.Font= New System.Drawing.Font("Arial", 36)
Page1.Watermark.Text= "Credit. Do not send payment!"
Else
Page1.Watermark.Text= "Invoice"
End If;
}

VB2008 v 2008.2.300
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error in constructor

Post by Edward »

Hello, Andre.

Thank you for your samples.

Has the problem been solved with changing of the default report's language?

Thank you.
Post Reply