A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Lablels Report won't print



 
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2009, 03:55 PM posted to microsoft.public.access.reports
pubdude2003 via AccessMonster.com
external usenet poster
 
Posts: 39
Default Lablels Report won't print

I got this marvelous code for printing labels a user posted on accessmonster.
com but the code seems to be preventing the report from actually printing.
Can't PDF or send to my Canon printer.

This code appears in the OnPrint event and I assume it's what's preventing
the printing. It previews fine just won't print.

Static intMyPrint As Integer
If PrintCount = Forms!form3.Text13 And [SkipControl] = "Skip" Then
Me.NextRecord = False
Me.PrintSection = False
intMyPrint = 0
Else
[SkipControl] = "No"
Me.PrintSection = True
Me.NextRecord = True
intMyPrint = intMyPrint + 1

If intMyPrint Mod Forms!form3.Text14 = 0 Then
Me.NextRecord = True
intMyPrint = 0
Else
Me.NextRecord = False
End If
End If

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200912/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.