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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Seeing Table Values
Im absolutely useless at using Access. I was wondering if someone knew how to
assist me witht he following problem im having. I have a Table called 'Despatch Status' which contains 3 fields. 'MachineCodeA', MachineCodeB' and MachineCodeC'. Each of these fields is a dropdown list which is populated from another Table called 'MachineCode'. In this table theres are two fields entitled ID (primary key) and MachineCode (the actual values I require). I also have a Report (used to print a date range) called 'Live Orders'. On this report I need to show the values of MachineCodeA etc.. However, its simply pulling in the ID number instead of the Machine Code value that I require? I hope that makes sense. Any ideas? |
#2
|
|||
|
|||
Seeing Table Values
StevieD wrote:
Im absolutely useless at using Access. I was wondering if someone knew how to assist me witht he following problem im having. I have a Table called 'Despatch Status' which contains 3 fields. 'MachineCodeA', MachineCodeB' and MachineCodeC'. Each of these fields is a dropdown list which is populated from another Table called 'MachineCode'. In this table theres are two fields entitled ID (primary key) and MachineCode (the actual values I require). I also have a Report (used to print a date range) called 'Live Orders'. On this report I need to show the values of MachineCodeA etc.. However, its simply pulling in the ID number instead of the Machine Code value that I require? Create a new query. Add the Despatch Status table, then add the 'MachineCode' table three times. Then check to make sure the connection lines between the tables are from [Despatch Status].MachineCodeA to MachineCode.ID, [Despatch Status].MachineCodeB to MachineCode_1.ID and [Despatch Status].MachineCodeC to MachineCode_2.ID Now you can drag the MachineCode field from each of the three tables to the query's field list. You should alias each of these fields to make it easier to keep track of which is which: Field McodeA: MachineCode Table MachineCode Field McodeB: MachineCode Table MachineCode_1 Field McodeC: MachineCode Table MachineCode_2 -- Marsh MVP [MS Access] |
#3
|
|||
|
|||
Seeing Table Values
Hi, thanks. But I still seem to be getting the ID values as opposed to the
other field. Could I be missing something or theres something else conflicting? Marshall Barton wrote: Im absolutely useless at using Access. I was wondering if someone knew how to assist me witht he following problem im having. [quoted text clipped - 9 lines] simply pulling in the ID number instead of the Machine Code value that I require? Create a new query. Add the Despatch Status table, then add the 'MachineCode' table three times. Then check to make sure the connection lines between the tables are from [Despatch Status].MachineCodeA to MachineCode.ID, [Despatch Status].MachineCodeB to MachineCode_1.ID and [Despatch Status].MachineCodeC to MachineCode_2.ID Now you can drag the MachineCode field from each of the three tables to the query's field list. You should alias each of these fields to make it easier to keep track of which is which: Field McodeA: MachineCode Table MachineCode Field McodeB: MachineCode Table MachineCode_1 Field McodeC: MachineCode Table MachineCode_2 -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...ports/200511/1 |
#4
|
|||
|
|||
Seeing Table Values
Please post a Copy/Paste of the query's SQL view.
Let's try to reduce the confusion by leaving the report out of the problem. Just open the query from the query design window ans see if it contains the desired data. The report may just be referring to the wrong field names or something that's only fogging the problem. -- Marsh MVP [MS Access] StevieD via AccessMonster.com wrote: Hi, thanks. But I still seem to be getting the ID values as opposed to the other field. Could I be missing something or theres something else conflicting? Marshall Barton wrote: Create a new query. Add the Despatch Status table, then add the 'MachineCode' table three times. Then check to make sure the connection lines between the tables are from [Despatch Status].MachineCodeA to MachineCode.ID, [Despatch Status].MachineCodeB to MachineCode_1.ID and [Despatch Status].MachineCodeC to MachineCode_2.ID Now you can drag the MachineCode field from each of the three tables to the query's field list. You should alias each of these fields to make it easier to keep track of which is which: Field McodeA: MachineCode Table MachineCode Field McodeB: MachineCode Table MachineCode_1 Field McodeC: MachineCode Table MachineCode_2 StevieD via AccessMonster.com wrote: Im absolutely useless at using Access. I was wondering if someone knew how to assist me witht he following problem im having. [quoted text clipped - 9 lines] simply pulling in the ID number instead of the Machine Code value that I require? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formula to Sum values in word table | Craig | Mailmerge | 1 | August 29th, 2005 06:19 PM |
Multiple Options Group | Patty Stoddard | Using Forms | 19 | August 4th, 2005 02:30 PM |
Access combo box-show name, not ID, in table? | write on | New Users | 30 | April 30th, 2005 09:11 PM |
Table Design | A. Williams | Database Design | 3 | April 29th, 2005 07:02 PM |
Seeking some expert advice. | HD87glide | Using Forms | 14 | March 23rd, 2005 10:11 PM |