Results 1 to 3 of 3
  1. #1
    John Mundy is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2

    Referencing Dropdowns to multiple fields

    Hello, New user here, so I'm sorry if this problem has been addressed before.

    I am creating a form that has a dropdown menu consisting of data from a table I have created.

    There are 4 columns in this table: "Model", "Total Cooling", "Make", "Net Cooling".

    When the required row in the dropdown menu is selected, I have another field in the form that shows only the "Total Cooling" part, which is then used for some calculations elsewhere in the form.



    The problem I am having is that I also need a field that references the "Net Cooling" part of the selected dropdown field, so that further calculations can be made from that field in yet another part of the form. Whenever I reference the dropdown, it only shows up the "Total Cooling" part in all fields that link to it. Is there any way of specifying exactly which column I can reference from the dropdown that is selected?

    Thanks in advance, and I am aware that it will probably be something really simple that will embarrass me!!! haha.

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    You can reference specific columns (as long as the combo's COLUMN COUNT property is set to the appropriate number of columns in the combo's row source).

    =[ComboNameHere].[Column](1) * [TextBoxNameHere]

    Column(1) refers to the second column as it is zero-based. So Column(3) would be the FOURTH column.
    Last edited by boblarson; 11-04-2011 at 11:15 AM. Reason: edit to better clarify

  3. #3
    John Mundy is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2
    Thank you, that helps a lot.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filter Report with Dropdowns
    By ShadeRF in forum Reports
    Replies: 4
    Last Post: 05-30-2011, 12:40 PM
  2. Add data from two dropdowns into a relationtable?
    By Alexandersson in forum Forms
    Replies: 0
    Last Post: 02-14-2011, 01:59 AM
  3. Referencing fields from tables
    By Pells in forum Queries
    Replies: 7
    Last Post: 10-27-2010, 03:03 AM
  4. dropdowns and listboxes
    By t_dot in forum Forms
    Replies: 6
    Last Post: 08-19-2010, 11:12 AM
  5. Referencing multiple records in a table
    By akbigcat86 in forum Programming
    Replies: 14
    Last Post: 07-22-2010, 01:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums