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  

Lookup fields on label report



 
 
Thread Tools Display Modes
  #1  
Old June 2nd, 2004, 08:26 PM
Howard
external usenet poster
 
Posts: n/a
Default Lookup fields on label report

I received good advise from Albert to be able to print the
lookup value on my labels report rather than just the ID
number of the lookup fields. In the query, I have added
the lookup tables, set up the appropriate relationships,
and added the description fields of the lookup tables to
the query. I am confused as to what fields from the query
I place in the label report, the ID's from the main table,
or the description fields from the lookup tables. In my
case, I have a few lookup fields in my main table which
lookup in the same lookup table eg I have a "room" table
with values such as den, kitchen, study. In my main table
I have three fields which lookup in the room table ie.
component room, source cable room, and target cable room.
I added the room table to the query and set a relationship
from all three fields to the room table. I get an error
with the query, something about a looped back
relationship. Any futher advise would be appreciated.
Thanks!
-Howard
  #2  
Old June 3rd, 2004, 02:43 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default Lookup fields on label report

Having three "room" fields is a bit un-normalized. You would have to add
three copies of the room lookup table to the query and join one each to your
three room fields. Then use your description fields in your report.

--
Duane Hookom
MS Access MVP


"Howard" wrote in message
...
I received good advise from Albert to be able to print the
lookup value on my labels report rather than just the ID
number of the lookup fields. In the query, I have added
the lookup tables, set up the appropriate relationships,
and added the description fields of the lookup tables to
the query. I am confused as to what fields from the query
I place in the label report, the ID's from the main table,
or the description fields from the lookup tables. In my
case, I have a few lookup fields in my main table which
lookup in the same lookup table eg I have a "room" table
with values such as den, kitchen, study. In my main table
I have three fields which lookup in the room table ie.
component room, source cable room, and target cable room.
I added the room table to the query and set a relationship
from all three fields to the room table. I get an error
with the query, something about a looped back
relationship. Any futher advise would be appreciated.
Thanks!
-Howard



 




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 12:22 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.