The Access 2000 database that I'm working on prints customer invoices. I'm trying to setup a report so that if the ClientID field in the Client table reads "ABC", then a dialog box will display on the report reading "unique payment plan (see notes)". If the ClientID field equals anything other than "ABC", then this dialog box should say "Charge Account". Below is the syntax that I have, but it does not work.
If Tables!Client.ClientID = "ABC" Then
Me.txtbox.FontWeight = 700
Me.txtbox.ForeColor = RGB(255, 0, 0)
Me.txtbox.Caption = "Unique Payment Plan (see notes)"
Else
Me.txtbox.FontWeight = 700
Me.txtbox.ForeColor = RGB(255, 0, 0)
Me.txtbox.Caption = "Charge Account"
End If
Appreciate any help.
Mike
If Tables!Client.ClientID = "ABC" Then
Me.txtbox.FontWeight = 700
Me.txtbox.ForeColor = RGB(255, 0, 0)
Me.txtbox.Caption = "Unique Payment Plan (see notes)"
Else
Me.txtbox.FontWeight = 700
Me.txtbox.ForeColor = RGB(255, 0, 0)
Me.txtbox.Caption = "Charge Account"
End If
Appreciate any help.
Mike