Results 1 to 2 of 2
  1. #1
    cjtemple is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    1

    Limit to List difficulty

    I am looking to put a combo-box on a form. The box is set to query Table2 and get the ID, and Type. The selected index will store the ID in Table1.Type. I would like to hide the Index column and set the combo-box to Limit to List: NO so that the user can either click on the Type or Type in a new Type which will be added to Table2. Can anyone help me with this one. When I try to set Limit to List to NO, Access yells at me because my first column is hidden and I have to fix my Columnwidth then set Limit to List to NO.

    My Database:


    Table1:
    Code:
     
    ID - autonumber
    Type - number
    Description - text
    Table2:
    Code:
     
    ID - autonumber
    Type - text
    Table2.ID has a one to many relationship with Table1.Type

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    I'm not sure you can do what you want from just a single Combo Box.

    I'd recommend having a Combo Box that lets you select an existing item from the second Table and then a Button beside the Combo Box that opens a Form for creating a new type.

    Then you can have the On Close event of your "New Type" Form refresh the RowSource of your Combo Box to include the new type you just created.

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

Similar Threads

  1. Limit Records
    By EHittner in forum Forms
    Replies: 1
    Last Post: 05-03-2010, 10:37 AM
  2. Excel Query Limit
    By Afliege in forum Queries
    Replies: 0
    Last Post: 03-19-2010, 10:20 AM
  3. Replies: 5
    Last Post: 03-04-2010, 05:41 AM
  4. mdb file size limit
    By dr_ping in forum Access
    Replies: 1
    Last Post: 01-19-2009, 09:52 AM
  5. Replies: 2
    Last Post: 08-04-2008, 04:16 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