I checked the Forum and other sources and couldn
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Printing Multiple Labels per Sheet (A2K)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Printing Multiple Labels per Sheet (A2K)
- This topic has 17 replies, 4 voices, and was last updated 18 years, 9 months ago.
Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody Lounger -
WSAGMCon
AskWoody Lounger -
WSHansV
AskWoody LoungerAugust 20, 2006 at 10:56 am #1025444You could add a Yes/No field ysnPrinted to the table, and base the report on a query that selects the first ten records for which ysnPrinted = No.
In the code used to open the report, check whether there are enough records in the query, and issue a warning if there aren’t.
After the report has been opened, offer the option to set ysnPrinted to Yes.See the attached crude demo.
-
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 12:12 pm #1025446Hans,
Thanks again. I’ll try your version and also attempt to do one where there is no need for the user to say yes or no, but “AUTOMATICALLY” print when it reaches 10. Manual intervention would only be necessary at the end of the whole session when everyone is finished or when the application is closed.
As a point of interest and a bit of forewarning. This is going to be done on a two-drawer printer where one drawer will be selected for labels and the other one for one page Warranty Reports which will be ‘AUTOMATICALLY” printed when generated by pre-determined conditions. Hoo Haw!
Stay tuned.
-
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 12:58 pm #1025452Hans,
Let the games continue.
The records that are being created are based on a query, [qry CNMstr].
The size of the file is continually be incremented by the number of records added, and is currently sitting at 3094.
Based on your code and using my labels:
Private Sub cmdLabels_Click()
Dim intCount As Integer
Dim strSQL As String
intCount = DCount(“*”, “qry CNMstr”)
If intCount = 0 Then
MsgBox “There are no labels to be printed.”, vbInformation
Exit Sub
ElseIf intCount < 10 Then
If MsgBox("There are fewer than ten labels to be printed." & vbCrLf & _
"Do you want to print them anyway?", _
vbQuestion + vbYesNo + vbDefaultButton2) = vbNo Then
Exit Sub
End If
End If
DoCmd.OpenReport "rpt LogIn – Label", acViewPreview
If MsgBox("Do you want to mark the labels as printed?", _
vbQuestion + vbYesNo) = vbYes Then
strSQL = "UPDATE [qry CNMstr] SET ysnPrinted = True"
DoCmd.RunSQL strSQL, True
End If
End SubHad I said Yes,
I would have printed out 3094 labels.
Where did I go wrong?
-
WSHansV
AskWoody Lounger -
WSAGMCon
AskWoody Lounger -
WSladyengr
AskWoody LoungerAugust 21, 2006 at 8:44 pm #1025642Sorry to butt in, but I have had this same issue. I solved it with a Dymo thermal label printer. Set the label report page setup property to print to “specific printer” (meaning the Dymo) and leave the warranty sheet as the LaserJet default printer. This way no 1 person would have to wait for several other people to get their work done before they could get their output. The printers are cheap (especially on eBay). I just replaced one for $80, including shipping. The one I replaced had been in service for 3 years. Pro is never changing ink/toner. Only con I can think of is that the labels do come in a roll – print one and tear it off with the little metal teeth (just like with aluminum foil). If several labels come out in quick succession you actually have to tear or cut the backing paper OR just peel off the label you need.
Hope that helps – sure solved my dilemna years ago!
Kathi -
WSAGMCon
AskWoody LoungerAugust 21, 2006 at 10:26 pm #1025655Kathi!
Thanks kindly for “butting” in. Having been there and done that and solved your similar problem, I appreciate your helping me out. Suggestions and clues like yours are never considered to be “butting” in. I really appreciate your insights. If only I could comment further with respect to these great straight lines thrown my way…..
Seriously, thanks again and cheers,
-
-
-
-
WSMarkLiquorman
AskWoody LoungerAugust 20, 2006 at 10:59 am #1025445-
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 12:17 pm #1025447Mark,
Thanks for the input. Yes, all and sundry have their little front ends ( on the computer ) and all have a button which currently would print one label at at time. All I need do with this little fella is add the “Are you up to 10 yet?” logic. That sounded simple, didn’t it?
Worse case scenario in all of this is some type of label printer that prints out 1 label at a time whenever their record is saved. Certainly not continuous form dot-matrix which is right up their with punched cards, but a laser-like quality printer. Know of any?
Cheers,
-
WSMarkLiquorman
AskWoody LoungerAugust 20, 2006 at 12:50 pm #1025451Actually, I was thinking of a button that would manually print all labels. That is, if they enterred 8 labels and had no more, they would then click the “Print Now” button and all 8 would print-out. They wouldn’t have to do anything when the 10th label was input, the system would automatically print a sheet of labels.
There are are specialty label printers out there that would allow you to economically print 1 label at a time. Labels come on a roll.
-
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 1:05 pm #1025453Sorry Mark,
Once more have I miscontrued you folks due to minimal description. I should have mentioned that I assumed it would be labels on a roll, but providing laser printer-like quality. Sorry about that.
As you can gather by my response to Hans, that the thick is plottening. It would have to be the last labels Not Printed since the last print job. This means of course that I should have put a ” Gee, I’ve already been printed” indicator on my file. I’ve done that somewhere in my distant past, so I’d best go looking for it.
Unless of course you have an easier more logical suggestion.
Thanks again,
-
WSMarkLiquorman
AskWoody Lounger -
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 4:11 pm #1025459 -
WSMarkLiquorman
AskWoody LoungerAugust 20, 2006 at 4:31 pm #1025461No! No! No! When I say a temporary table, I mean a table who contents are temporary. The user has no involvement in this at all. As info for each label is entered, an record is added into the table. Each time an entry is written to this table, you merely have to do a DCount to find out how many records are there. If there are 10, then print labels and Delete contents of table (just pop a msgbox asking user something like “Did labels print OK?” before you actually delete the records).
-
WSAGMCon
AskWoody LoungerAugust 20, 2006 at 4:47 pm #1025463Hi Mark,
Panic easily, don’t I.
It sounds close to an ideal solution. That’s the good news. The bad news is, and I have no problem in admitting this, as this is another of countless areas I’ve never dealt with in using Access, I have absolutely no clue as to how to do this based on some of the code reflected above that I’m dealing with. If it’s not too much to ask, a small bit of code or sample database would be more than appreciated. Sorry about the imposition,
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
KB5058379 / KB 5061768 Failures
by
crown
8 hours, 3 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
10 hours, 42 minutes ago -
At last – installation of 24H2
by
Botswana12
11 hours, 26 minutes ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
1 hour, 4 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
23 hours, 38 minutes ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
16 hours, 58 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
1 day, 13 hours ago -
Another test post
by
gtd12345
1 day, 13 hours ago -
Connect to someone else computer
by
wadeer
1 day, 7 hours ago -
Limit on User names?
by
CWBillow
1 day, 10 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day ago -
BitLocker rears its head
by
Susan Bradley
8 hours, 39 minutes ago -
Who are you? (2025 edition)
by
Will Fastie
7 hours, 36 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 3 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
1 day, 23 hours ago -
Woody
by
Scott
2 days, 8 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
8 hours, 15 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
2 days, 23 hours ago -
MS Office 365 Home on MAC
by
MickIver
2 days, 16 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
3 days, 13 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
8 hours ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
4 days, 8 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
4 days, 8 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
3 days, 11 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
3 days, 12 hours ago -
Login screen icon
by
CWBillow
3 days, 2 hours ago -
AI coming to everything
by
Susan Bradley
17 hours, 28 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
4 days, 23 hours ago -
No Screen TurnOff???
by
CWBillow
17 minutes ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
4 hours, 22 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.