len,
Well, having external tables that provide combo values for your
Clients
form is OK, but once a value is selected, it should be stored against the
client in that Client table. For ex... if you have a table of States,
selecting a client state from a combo should store that value in the
Client
[State] field.
In your label query it sounds like your trying to link the State table
back to the Client table. That should not be necessary... the client
State
should be stored in the Client table, and available to the query from
that
table.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Hi Al
Not being an expert at Access I thought it was the correct way. The
two
items I mentioned are the same for a number of people so are using drop
down
boxes to save work. While the states dont change, the type may. I was
trying to make it easier for the user so that she could add in extra
types
if
needed. ie. I have a form to add additional types. If you could
advise
of a
better way it would be great.
Regards
LEN
:
Len,
As I guessed, the relationship between those tables is the culprit,
but I
have no way of determining why.
But, more importantly tan that... all the info you mentioned about
the
client should be in one table... say tblClients. Name address, type,
and
state are all "ONE" related to the client. Why would you have
personal
details in one table.. and the state they live in in another??
Get that data "normalized" into one table, and your label, and all
subsequent reports will be easy to develop.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Hi Al
The labels are not for addressing purposes. It is info required for
OH
&
S
so includes their name, address and information such as type of
client
etc.
There are three tables... one which includes his personal details,
one
which
inlcudes the type of client and one which inlcudes the state they
live
in.
i did a test without the table and all works fine. When i add the
additional table i receive the message i mentioned.
Thanks very much
Len
:
Len,
Do you have just an Address table and the Cartesian "counter"
table
in
your query... or do you have other tables included? It sounds like
you
do,
and Access is balking at one of those "links."
Please try to explain why you have more than just those two
tables
involved. Normally, an Address table should have all the info you
need
to
create a mailing label.
ALSO....
Try running a "basic test" query with just the Address and
Counter
table,
with no joins, and see if you can get that to run. Try just
1through10
in
your Counter table to see if you can get each address to repeat 10
times.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Hi Al
I created the table and added to the query with no joins, but get
a
message
stating that the SQL statement could not be executed because it
contains
ambiguous outer joins and to force one of the joins to be
performed
first
by
creating a separate query. I am really sorry, but I am not an
expert
at
this, so just checking to see if I have done something wrong.
Thansk Len
:
Len,
Create a cartesian relationship to force a single name to
repeat
X
number
of times to fill one sheet of labels.
Let's say you have 30 labels on a page. Create a table
called
tblCounter
with one field called Counter, and populate that table with...
1, 2, 3, 4, etc... to 30
Place your Address table, and the new Counter table on the
query...
with
NO connecting relationship. This will force (through a
cartesian
relationship) any name in the Names table to repeat 30 times...
once
for
each Counter in the Counter table.
Now, if you filter for just one name, that name will repeat
30
times,
and
fill your label page.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Hi There
I would like to create labels in Access using a parameter
query
to
call
up
a
person, then populate all lables on a page with the same
information.
ie.
the above persons Name, Address, date of birth etc. Is this
possible?
If
so, how is it done?
Thanks