Page 1 of 1

Error in constructor

Posted: Sun Oct 05, 2008 6:30 pm
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

Error in constructor

Posted: Mon Oct 06, 2008 7:28 am
by Edward
Hello, Andre.

Thank you for your samples.

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

Thank you.