Ok, I have the below code in a simple report and continue to receive this error message when I try to run it. The field it is referring to -'WAIVE_PFEES'- is a logical record field, thus I would assume it to have a resulting value of 'true' or 'false' no matter what.
Text113 is a text object defined as 'currency' and ProcessFee1 is a record field also defined as 'currency'.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.WAIVE_PFEES = True Then
Me.Text113 = 0
Else: Me.Text113 = Me.ProcessFee1
End If
If IsNull(Me.TI_AMOUNT) Then
Me.Text127 = 0
Else: Me.Text127 = Me.TI_AMOUNT
End If
End Sub
This all worked fine until I added a new field to this inputs record. Now all I get is this silly error.
What am I missing or doing wrong?
JP
piperent
Text113 is a text object defined as 'currency' and ProcessFee1 is a record field also defined as 'currency'.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.WAIVE_PFEES = True Then
Me.Text113 = 0
Else: Me.Text113 = Me.ProcessFee1
End If
If IsNull(Me.TI_AMOUNT) Then
Me.Text127 = 0
Else: Me.Text127 = Me.TI_AMOUNT
End If
End Sub
This all worked fine until I added a new field to this inputs record. Now all I get is this silly error.
What am I missing or doing wrong?
JP
piperent