I'd like to print mailing labels. Simple enough eh? In the db I just took
over, the previous fellow had some names listed multiple times, if those
folk got more than one copy of the our monthly newsletter. I'd like to clean
things up and have each name listed just once. Ideally, I'd have a column
for 'number of copies'. Then, when my label report ran, it would read this
number and print X number of labels. Is this possible? If so, can anyone
offer a suggestion about how to set it up code wise?
Thank you.
Becky 4 2147
On Sun, 12 Nov 2006 08:13:12 -0800, "Rebecca Smith"
<re************ @comcast.netwro te:
Of course there could be more than one "Jim Jones" in the world, but
if you have true duplicates in your table you need to start with
improving the database design. Put a unique index on the (combination
of) fields that makes a record unique. This will initially fail, so
you have some cleanup to do, but then it will work and will never fail
again.
Printing the "number of copies" like you indicate is a bit harder than
it may seem. Are you sure you need to go down that road. Cannot Jim
and Sally Jones share the same copy?
If not, I would probably pre-process the report by writing the records
I need to print to a "temporary" table using some VBA code with
recordsets. In this table the indexes are relaxed to allow
almost-dups. Then the label report would print from that table.
-Tom.
>I'd like to print mailing labels. Simple enough eh? In the db I just took over, the previous fellow had some names listed multiple times, if those folk got more than one copy of the our monthly newsletter. I'd like to clean things up and have each name listed just once. Ideally, I'd have a column for 'number of copies'. Then, when my label report ran, it would read this number and print X number of labels. Is this possible? If so, can anyone offer a suggestion about how to set it up code wise? Thank you. Becky
Create a new table with one column called say NumberOfCopies. If you need 4
copies of a label type 4 in 4 rows of this table.
If you need 6 copies of a label type 6 in 6 rows of this table.
In the table with the names, add a column called say NumberOfCopies and
enter 4 or 6 or however many labels you want for each name.
Then link these 2 tables together in a query and use the query to make the
labels.
"Rebecca Smith" <re************ @comcast.netwro te in message
news:Wr******** *************** *******@comcast .com...
I'd like to print mailing labels. Simple enough eh? In the db I just took
over, the previous fellow had some names listed multiple times, if those
folk got more than one copy of the our monthly newsletter. I'd like to
clean things up and have each name listed just once. Ideally, I'd have a
column for 'number of copies'. Then, when my label report ran, it would
read this number and print X number of labels. Is this possible? If so,
can anyone offer a suggestion about how to set it up code wise?
Thank you.
Becky
Karl,
Intriguing
B.
"Karl" <so*****@sbcglo bal.bizwrote in message
news:w7******** ***********@new ssvr21.news.pro digy.com...
Create a new table with one column called say NumberOfCopies. If you need
4 copies of a label type 4 in 4 rows of this table.
If you need 6 copies of a label type 6 in 6 rows of this table.
In the table with the names, add a column called say NumberOfCopies and
enter 4 or 6 or however many labels you want for each name.
Then link these 2 tables together in a query and use the query to make the
labels.
"Rebecca Smith" <re************ @comcast.netwro te in message
news:Wr******** *************** *******@comcast .com...
>I'd like to print mailing labels. Simple enough eh? In the db I just took over, the previous fellow had some names listed multiple times, if those folk got more than one copy of the our monthly newsletter. I'd like to clean things up and have each name listed just once. Ideally, I'd have a column for 'number of copies'. Then, when my label report ran, it would read this number and print X number of labels. Is this possible? If so, can anyone offer a suggestion about how to set it up code wise? Thank you. Becky
Karl,
Works like a champ - thanks!
B.
"Karl" <so*****@sbcglo bal.bizwrote in message
news:w7******** ***********@new ssvr21.news.pro digy.com...
Create a new table with one column called say NumberOfCopies. If you need
4 copies of a label type 4 in 4 rows of this table.
If you need 6 copies of a label type 6 in 6 rows of this table.
In the table with the names, add a column called say NumberOfCopies and
enter 4 or 6 or however many labels you want for each name.
Then link these 2 tables together in a query and use the query to make the
labels.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan Nash |
last post by:
Hi guys
I wonder if you could help. I'm trying to create a bespoke interface for
mail merging from an Access database in Word. At the moment, I'm just trying
it with CSV files, and it works. Word loads, data gets pasted in and it
merges fine. One problem tho, it's doing Form Letters rather than Mailing
Labels
Here's the code...
|
by: Nick |
last post by:
Is it possible through css to make an element in a multiple list menu
unselectable. Im organizing my list by using titles...
+-------------+
| CATEGORY 1 |
| option 1 |
| option 2 |
| option 3 |
| CATEGORY 2 |
| option 1 |
|
by: louise |
last post by:
hi
i am trying to set up a mail merge button which takes records from a
multi-select listbox (the contents of which are decided by a query
created by a search from) and not from a specific query.
I have a function GetCriteria()
Private Function GetCriteria() As String
Dim stDocCriteria As String
|
by: James Radke |
last post by:
Hello,
I have a multithreaded windows NT service application (vb.net 2003) that I
am working on (my first one), which reads a message queue and creates
multiple threads to perform the processing for long running reports. When
the processing is complete it uses crystal reports to load a template file,
populate it, and then export it to a PDF.
It works fine so far....
|
by: cemcat |
last post by:
Hello,
We have an ASP.NET 2.0 (C#) web form that contains a textbox for users to
enter multiple e-mail addresses separated by semicolons. We need to
validate that each individual e-mail address entered is a valid e-mail
address format. We've added a CustomValidator to perform this validation.
We have the server-side validation working fine, but now we need to add some
client-side validation via JavaScript. We are having difficulties...
| |
by: Yeah |
last post by:
I have a simple fill-out form with three fields, in this order: Name,
E-mail, and Comment. But when I receive the E-mail containing the form data,
the fields are listed backwards (Comment, E-mail, Name).
I've checked the CGI file, and it doesn't appear to control the sort order.
Is there a way to tell the HTML code to sort the field data for E-mail?
|
by: Elmo Watson |
last post by:
I've got quite a few textboxes on my page, along with labels, within a
table.
In these textboxes, I use the onTextChanged event (with autopostback=true)
to calculate some formulas, and put the finished numbers in labels - and
I'd like to use AJax to remove the screen flickering - - but for now, it's
not happening.
I've got a script manager on the screen with
EnablePartialRendering="true"
|
by: obrienkev |
last post by:
Hi all,
I have a certain number of labels that I want displayed on each of my Windows Forms in my c# Desktop Application project.
Each of the labels is used to open a relavent windows form.
Is it possible to show these labels on each form without having to create them repeatedly on each form?
Can I call them from one class? If so, how?
Thanks.
|
by: Bob Malcoprs |
last post by:
Hi,
I want to get all the selected values of a listbox in several labels..
With this code here below, when i click on e.g. "option 2", i get '2' in
label2. That's ok.
But if i then click on "option 3", "option 3" is selected and "option 2" is
deselected. So i get '3' in label3 but also still '2' in label2. Same with
"option 1".
And when i deselect everything, i still get '2' and '3'. I can't get rid of
them.
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |