Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is the caption on my frames not printing

Status
Not open for further replies.

mts176

MIS
Apr 17, 2001
109
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top