I am trying to print a form using
fmTagProperties.PrintForm
everything on the form is printing fine except the captions on the frames.
I started printing with just populating the frame text through the properties window and that didn't work.
I then populated the frame text in the form Activate Sub and that didn't work.
Finally I populated the frame text in the print command button and it is still not working.
Could somebody please tell me why this is not working.
Here is the Printing Sub I am using:
Private Sub PrintCMD_Click()
Label6 = Date
Label7.Caption = Time
Alarm_Groups.Caption = "Alarm_Groups"
Frame1.Caption = "Enable/Disable Event"
Frame2.Caption = "Printing Options"
Frame3.Caption = "Alarm Setpoints"
Frame4.Caption = "Digital Alarm Trigger"
Enable_Disable_Alarms.Caption = "Enable/Disable Alarms"
Critical_NonCritical.Caption = "Critical/NonCritical Alarm"
Label6 = Date
Label7.Caption = Time
fmTagProperties.PrintForm
Label6 = ""
Label7.Caption = ""
End Sub
I have also tried using the .Repaint still to no avail.
Thanks for the help.
fmTagProperties.PrintForm
everything on the form is printing fine except the captions on the frames.
I started printing with just populating the frame text through the properties window and that didn't work.
I then populated the frame text in the form Activate Sub and that didn't work.
Finally I populated the frame text in the print command button and it is still not working.
Could somebody please tell me why this is not working.
Here is the Printing Sub I am using:
Private Sub PrintCMD_Click()
Label6 = Date
Label7.Caption = Time
Alarm_Groups.Caption = "Alarm_Groups"
Frame1.Caption = "Enable/Disable Event"
Frame2.Caption = "Printing Options"
Frame3.Caption = "Alarm Setpoints"
Frame4.Caption = "Digital Alarm Trigger"
Enable_Disable_Alarms.Caption = "Enable/Disable Alarms"
Critical_NonCritical.Caption = "Critical/NonCritical Alarm"
Label6 = Date
Label7.Caption = Time
fmTagProperties.PrintForm
Label6 = ""
Label7.Caption = ""
End Sub
I have also tried using the .Repaint still to no avail.
Thanks for the help.