473,799 Members | 2,868 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Labels: 1 person, 2 addresses

I am creating a database for a small department in a university. Each
student in their database can have 2 mailing addresses. They wanted mailing
labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie

Nov 12 '05 #1
6 2110
Your student table either has fields for two addresses or you have a separate
address table. In either case, you need to create an appropriate query that gets
the student names and the addresses you want. Your label is based on this query.
Basing your labels on a query is a good idea for other reasons too. With a query
you could print labels for certain groups of students by using criteria in your
query. For example, you might only print labels for students in a certain class,
who live in a certain dorm or who belong to a certain fraternity or sorority.
You might even just want to print labels only for students over at 'Animal
House'! :)

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university. Each
student in their database can have 2 mailing addresses. They wanted mailing
labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie

Nov 12 '05 #2
I have a separate table for the addresses. I added the 2nd set of addresses
information to the query I am using for my labels. But how do I create 2
separate labels for a student if they have information in both addresses?
Do I change the textboxes on my label report? If so, how?

"Steve" <sp**@nospam.sp am> wrote in message
news:U0******** **********@news read2.news.atl. earthlink.net.. .
Your student table either has fields for two addresses or you have a
separate
address table. In either case, you need to create an appropriate query that
gets
the student names and the addresses you want. Your label is based on this
query.
Basing your labels on a query is a good idea for other reasons too. With a
query
you could print labels for certain groups of students by using criteria in
your
query. For example, you might only print labels for students in a certain
class,
who live in a certain dorm or who belong to a certain fraternity or
sorority.
You might even just want to print labels only for students over at 'Animal
House'! :)

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university. Each
student in their database can have 2 mailing addresses. They wanted mailing labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie

Nov 12 '05 #3
Create one query to get Address1. Create another to get Address2...

....then create a Union query to merge the two lists.

SELECT * FROM Query1
UNION
SELECT & FROM Query2;

(Both queries myst return the same number of fields - but don't need to
be of the same data type though)

--
regards,

Bradley

DebbieG wrote:
I have a separate table for the addresses. I added the 2nd set of
addresses information to the query I am using for my labels. But how
do I create 2 separate labels for a student if they have information
in both addresses? Do I change the textboxes on my label report? If
so, how?

"Steve" <sp**@nospam.sp am> wrote in message
news:U0******** **********@news read2.news.atl. earthlink.net.. .
Your student table either has fields for two addresses or you have a
separate
address table. In either case, you need to create an appropriate
query that gets
the student names and the addresses you want. Your label is based on
this query.
Basing your labels on a query is a good idea for other reasons too.
With a query
you could print labels for certain groups of students by using
criteria in your
query. For example, you might only print labels for students in a
certain class,
who live in a certain dorm or who belong to a certain fraternity or
sorority.
You might even just want to print labels only for students over at
'Animal House'! :)
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university.
Each student in their database can have 2 mailing addresses. They
wanted mailing labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie


--
regards,

Bradley
Nov 12 '05 #4
Bradley's idea is good if you want to print labels for both addresses in the
same print session. I recommend that you place an option group on the form where
you launch the labels. The option group to have the vaue Address1, Address2,
Both. You can then select what you want to print before you start printing. If
you want to have other criteria fields in your query for seecting who to print
labels (Like The Animal House), you can put those criteria fields on your launch
form too. Then all you need is a query that uses the option group and any other
criteria fields to return who you want to print labels for in the upcoming print
session.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:59******** ************@ac cessus.net...
I have a separate table for the addresses. I added the 2nd set of addresses
information to the query I am using for my labels. But how do I create 2
separate labels for a student if they have information in both addresses?
Do I change the textboxes on my label report? If so, how?

"Steve" <sp**@nospam.sp am> wrote in message
news:U0******** **********@news read2.news.atl. earthlink.net.. .
Your student table either has fields for two addresses or you have a
separate
address table. In either case, you need to create an appropriate query that
gets
the student names and the addresses you want. Your label is based on this
query.
Basing your labels on a query is a good idea for other reasons too. With a
query
you could print labels for certain groups of students by using criteria in
your
query. For example, you might only print labels for students in a certain
class,
who live in a certain dorm or who belong to a certain fraternity or
sorority.
You might even just want to print labels only for students over at 'Animal
House'! :)

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university. Each
student in their database can have 2 mailing addresses. They wanted

mailing
labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie


Nov 12 '05 #5
This worked like a charm! Thank you so much for helping me.

Debbie
"Bradley" <br*****@REMOVE THIScomcen.com. au> wrote in message
news:40******** @nexus.comcen.c om.au...
Create one query to get Address1. Create another to get Address2...

....then create a Union query to merge the two lists.

SELECT * FROM Query1
UNION
SELECT & FROM Query2;

(Both queries myst return the same number of fields - but don't need to
be of the same data type though)

--
regards,

Bradley

DebbieG wrote:
I have a separate table for the addresses. I added the 2nd set of
addresses information to the query I am using for my labels. But how
do I create 2 separate labels for a student if they have information
in both addresses? Do I change the textboxes on my label report? If
so, how?

"Steve" <sp**@nospam.sp am> wrote in message
news:U0******** **********@news read2.news.atl. earthlink.net.. .
Your student table either has fields for two addresses or you have a
separate
address table. In either case, you need to create an appropriate
query that gets
the student names and the addresses you want. Your label is based on
this query.
Basing your labels on a query is a good idea for other reasons too.
With a query
you could print labels for certain groups of students by using
criteria in your
query. For example, you might only print labels for students in a
certain class,
who live in a certain dorm or who belong to a certain fraternity or
sorority.
You might even just want to print labels only for students over at
'Animal House'! :)
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university.
Each student in their database can have 2 mailing addresses. They
wanted mailing labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a second
mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie


--
regards,

Bradley
Nov 12 '05 #6
DebbieG wrote:
This worked like a charm! Thank you so much for helping me.

Debbie
I only rediscovered the 'ol Union query a little while ago... I was
doing it "old school" and creating a temporary table in which I dumped
the results of two (or more) queries :)
--
regards,

Bradley

"Bradley" <br*****@REMOVE THIScomcen.com. au> wrote in message
news:40******** @nexus.comcen.c om.au...
Create one query to get Address1. Create another to get Address2...

...then create a Union query to merge the two lists.

SELECT * FROM Query1
UNION
SELECT & FROM Query2;

(Both queries myst return the same number of fields - but don't need
to be of the same data type though)

--
regards,

Bradley

DebbieG wrote:
I have a separate table for the addresses. I added the 2nd set of
addresses information to the query I am using for my labels. But how
do I create 2 separate labels for a student if they have information
in both addresses? Do I change the textboxes on my label report? If
so, how?

"Steve" <sp**@nospam.sp am> wrote in message
news:U0******** **********@news read2.news.atl. earthlink.net.. .
Your student table either has fields for two addresses or you have a
separate
address table. In either case, you need to create an appropriate
query that gets
the student names and the addresses you want. Your label is based on
this query.
Basing your labels on a query is a good idea for other reasons too.
With a query
you could print labels for certain groups of students by using
criteria in your
query. For example, you might only print labels for students in a
certain class,
who live in a certain dorm or who belong to a certain fraternity or
sorority.
You might even just want to print labels only for students over at
'Animal House'! :)
"DebbieG" <debbieg@access us-REMOVE-THIS-.net> wrote in message
news:vr******** ************@ac cessus.net...
I am creating a database for a small department in a university.
Each student in their database can have 2 mailing addresses. They
wanted mailing labels pulling just the 1st address. No problem.

However, now they want a second label for students that have a
second mailing address.

Any ideas of how I can accomplish this?

Thanks in advance for any help.
Debbie


--
regards,

Bradley
Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4364
by: Fred | last post by:
Hi. Sorry, but I don't know where else to ask. I wrote a access shipping database and we currently use the web interface for DHL to print shipping labels. That means we have to manualy transpose shipto info to the DHL web interface to print the 8 x 11 labels. We ship between 0 and 20 packages a day. If I get DHL pinfeed DHL shipping labels and a matrix printer, can I just print the labels directly from my database instead of dealing...
6
237
by: DebbieG | last post by:
I am creating a database for a small department in a university. Each student in their database can have 2 mailing addresses. They wanted mailing labels pulling just the 1st address. No problem. However, now they want a second label for students that have a second mailing address. Any ideas of how I can accomplish this? Thanks in advance for any help.
2
2232
by: John Smith | last post by:
Perhaps the wrong place to ask but...Friend has names and addresses in Microsoft Works Database...how can she print off address labels from this database? Thanks, John
10
2943
by: John Baker | last post by:
Hi: I have a user who has labels that are set up 3 across and 11 vertical (which is unusual at best), and he wants me to print names and addresses on them. I have already set up for labels 10 vertical and 3 across (Avery 5160)which are another standard the user has, but can't find any in the setup for labels that show 11 vertical. I am therefore using the Avery 5160 as a start, and modifying the top and bottom margins (the margins on the...
1
1035
by: Ravimama | last post by:
Hi Guys, I have to generate mailing labels for selected addresses using crystal reports. I am loading all the names of the vendors in a checked list box. the user will select a few of the vendor names. I want to load the 5 selected vendors in the mailing labels in crystal reoprts. The crystal reports is designed at design time. I have already used a method where in I am trying to get the Ids of the selected vendors in a string, and I...
1
2367
by: Jamie J. Begin | last post by:
I'm very new to the world of Python and am trying to wrap my head around it's OOP model. Much of my OOP experience comes from VB.Net, which is very different. Let's say I wanted to create an object that simply outputted something like this: Developer Detroit Michigan
0
1581
by: xikom01 | last post by:
In this age, there is a lot of focus on the importance of "getting organized." There are even professional organizers for hire! Labels are a huge presence in the field of organization, because they enable everything to be tagged and put in its place. From birthday party invitations to mass market mailings to identifying file folders, consumers frequently employ labels in their everyday lives. Labels are a convenient and simple way to...
55
3172
by: aarklon | last post by:
Hi, why general integer expressions are not allowed in case labels in switch statements..????
2
2120
by: divyac | last post by:
I have developed an address book using php and mysql.I have all the contacts list in a table with check boxes.Now that i want to create mailing labels for the checked contacts...i.e.,the arrangements of addresses should be modified in such a way that there should be 5 addresses in a row of the table...I have done some coding but just dont know how to retrieve the checked contacts..Also..i have some problem in creating labels in which some...
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
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...
1
10248
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,...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
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();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.