Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
' if restitution is > 0 then show it, otherwise hide it
Debug.Print "Initial Appearance with Address: Detail Format: Restitution is " & Me![curCaseRestitution] & "."
If (Me![curCaseRestitution] > 0) Then
Me.lblRestitution.Visible = True
Me.txtRestitution.Visible = True
Else
Me.lblRestitution.Visible = False
Me.txtRestitution.Visible = False
End If
MsgBox ("In detail format.")
End Sub