D
dbl
Hi I have a report with the following code, all works fine when the report
is previewed and then printed but if the report is sent direct to the
printer the following data is not displayed, has anyone any idea's why, what
am I doing wrong? (Its seems to me it prints before it has had time to
update the information if that makes since).
Thanks Bob
Me.Text375 = "PLEASE GIVE FULL DETAILS"
Me.Text377 = "PLEASE GIVE FULL INCIDENT DETAILS"
Me.Label222.Visible = False
Me.Label223.Visible = False
Also the last part of the code to do with phone numbers is not displayed
The report works on Activate
If Me.DrivingOffence = "YES" Then
Me.Label222.Visible = False
Me.Text375 = "PLEASE GIVE FULL DETAILS"
GoTo OverMe
Else
If Me.DrivingOffence = "NO" Or IsNull(Me.DrivingOffence) Then
Me.Text375 = "If Yes please give full details"
OverMe:
If Me.InvolvedAccidents = "YES" Then
Me.Label223.Visible = False
Me.Text377 = "PLEASE GIVE FULL INCIDENT DETAILS"
GoTo Over
Else
If Me.InvolvedAccidents = "NO" Or IsNull(Me.InvolvedAccidents) Then
Me.Text377 = "If Yes please give full details including the dates"
Over:
Me.Text367 = Me.WorkPhone
If IsNull(Me.WorkPhone) Then
Me.Text367 = Me.MobilePhone
If IsNull(Me.WorkPhone) And IsNull(Me.MobilePhone) Then
Me.Text367 = Me.HomePhone
End If
End If
End If
End If
End If
End If
is previewed and then printed but if the report is sent direct to the
printer the following data is not displayed, has anyone any idea's why, what
am I doing wrong? (Its seems to me it prints before it has had time to
update the information if that makes since).
Thanks Bob
Me.Text375 = "PLEASE GIVE FULL DETAILS"
Me.Text377 = "PLEASE GIVE FULL INCIDENT DETAILS"
Me.Label222.Visible = False
Me.Label223.Visible = False
Also the last part of the code to do with phone numbers is not displayed
The report works on Activate
If Me.DrivingOffence = "YES" Then
Me.Label222.Visible = False
Me.Text375 = "PLEASE GIVE FULL DETAILS"
GoTo OverMe
Else
If Me.DrivingOffence = "NO" Or IsNull(Me.DrivingOffence) Then
Me.Text375 = "If Yes please give full details"
OverMe:
If Me.InvolvedAccidents = "YES" Then
Me.Label223.Visible = False
Me.Text377 = "PLEASE GIVE FULL INCIDENT DETAILS"
GoTo Over
Else
If Me.InvolvedAccidents = "NO" Or IsNull(Me.InvolvedAccidents) Then
Me.Text377 = "If Yes please give full details including the dates"
Over:
Me.Text367 = Me.WorkPhone
If IsNull(Me.WorkPhone) Then
Me.Text367 = Me.MobilePhone
If IsNull(Me.WorkPhone) And IsNull(Me.MobilePhone) Then
Me.Text367 = Me.HomePhone
End If
End If
End If
End If
End If
End If