Results 1 to 6 of 6
  1. #1
    hrseebeck is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    15

    Adding fields to combo boxes after the fact

    Hi everyone. I have a very simple item I would like to do; however, it doesn't seem to be working properly. I have a QuoteProducts table that has a combo box for the Product Number showing columns for Product Number, Product Name, Description, Size, and UOM from the Products table. Each of these fields are used in my form to pull in the data using =[ProdNo].[Column](X). I need to add a new column in the combo box called Description 2 so that I can pull the additional description into my form by the same formula. I have added the field to the Products table, and gone into the QuoteProducts table and added the Desc2 field to the query for the combo box at the end of the query; however, when I go to my form and enter the formula in a text box using the formula nothing is pulling up. The combo box has the following columns from the Product table: ID, Product Number, Product Name, Description, Size, UOM, Price, and Desc2.

    Any thoughts?

    Thank you for your assistance.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Typically the column count and column width properties need to be adjusted.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I have a QuoteProducts table that has a combo box for the Product Number showing columns
    are you referring to a combo box control on a form or a look-up field in a table?
    If you mean a look-up field , you should read about the evils of look-up fields >> http://access.mvps.org/access/lookupfields.htm

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    You are telling HOW you do something or wish to do something. Can you describe to us in 4 or 5 lines WHAT it is you are trying to do -- plain English please? If we are to help you, we have to understand your issue with your database and your environment. You can see from the responders that we don't yet "understand" WHAT you are trying to do.

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    As Paul suggested, it sounds as if you forgot to increase the Column Count for the Combobox, to include the added Field, and you will also need to modify the ColumnWidths Property, as he said.

    Linq ;0)>

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    I must not say things well enough.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Replies: 1
    Last Post: 07-30-2011, 03:21 PM
  3. Please Help with Setting up Fact & Dimension Tables
    By oPEEPINGTOMo in forum Database Design
    Replies: 1
    Last Post: 02-09-2011, 12:03 PM
  4. Replies: 3
    Last Post: 09-29-2010, 09:31 AM
  5. Replies: 10
    Last Post: 08-01-2009, 06:48 AM

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