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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Query results from joined table



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2004, 08:40 PM
Abe
external usenet poster
 
Posts: n/a
Default Query results from joined table

Maybe I don't understand table relationships,etc but I'm
not getting what I expect in my query.
I created a table to store equipment information:
tblEquip
EquipID - (PK)Autonumber
EquipName

and a table to store manufacturing information
tblMfg
Part# - (PK)
EquipName
RunDate
etc.......

Then I created a form for data entry with a dropdown
combobox for EquipID: SELECT [tblEquip].[EquipID],
[tblEquip].[EquipName] FROM tblEquip;
Bound Column = 1

When I run a query against tblMfg I want to see the
EquipName but I'm getting the EquipID instead. Do I need
to include the tblEquip in my query? or are my table
relationships wrong. Currently it is a 1-Many linking
EquipId and EquipName. Help! this is my first dB and it's
not going very well out of the gate.
  #2  
Old May 6th, 2004, 09:56 PM
Sunny
external usenet poster
 
Posts: n/a
Default Query results from joined table

Set following properites of combo box
Column Count = 2
ColumnWidth = 0";1"
"Abe" wrote in message
...
Maybe I don't understand table relationships,etc but I'm
not getting what I expect in my query.
I created a table to store equipment information:
tblEquip
EquipID - (PK)Autonumber
EquipName

and a table to store manufacturing information
tblMfg
Part# - (PK)
EquipName
RunDate
etc.......

Then I created a form for data entry with a dropdown
combobox for EquipID: SELECT [tblEquip].[EquipID],
[tblEquip].[EquipName] FROM tblEquip;
Bound Column = 1

When I run a query against tblMfg I want to see the
EquipName but I'm getting the EquipID instead. Do I need
to include the tblEquip in my query? or are my table
relationships wrong. Currently it is a 1-Many linking
EquipId and EquipName. Help! this is my first dB and it's
not going very well out of the gate.



  #3  
Old May 7th, 2004, 03:15 PM
Abe
external usenet poster
 
Posts: n/a
Default Query results from joined table

Thank you

-----Original Message-----
Set following properites of combo box
Column Count = 2
ColumnWidth = 0";1"
"Abe" wrote in

message
...
Maybe I don't understand table relationships,etc but I'm
not getting what I expect in my query.
I created a table to store equipment information:
tblEquip
EquipID - (PK)Autonumber
EquipName

and a table to store manufacturing information
tblMfg
Part# - (PK)
EquipName
RunDate
etc.......

Then I created a form for data entry with a dropdown
combobox for EquipID: SELECT [tblEquip].[EquipID],
[tblEquip].[EquipName] FROM tblEquip;
Bound Column = 1

When I run a query against tblMfg I want to see the
EquipName but I'm getting the EquipID instead. Do I need
to include the tblEquip in my query? or are my table
relationships wrong. Currently it is a 1-Many linking
EquipId and EquipName. Help! this is my first dB and

it's
not going very well out of the gate.



.

 




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 06:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.