Results 1 to 2 of 2
  1. #1
    razoRjaw is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2009
    Posts
    2

    new record with combo box?

    can anyone point me in the right direction?



    I have a form with a combo box to choose the main indexed field. it auto populates the rest of the fields when you select one choice.

    if I press "new record" it blanks all the txt boxes (good) but I can't type a new entry in the main combo box (bc its not part of the list)

    I'm thinking I need to make a button that says "add" and it brings up a dialog form with a txt box instead to add the new entry in the main record, then once the new indexed entry is there it can bring up the form with all the other fields and let you enter the info for them also.

    am I thinking about this right?

    and how can I make a txt box that brings up the new record only?
    any help is appreciated

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    What you are talking abut seems a bit convoluted to me. Is the main index an autonumber? If so then you should just add the data to the new record then do a requery on the combobox to display it - this is assuming the combobox shows all records in the table.

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

Similar Threads

  1. Replies: 1
    Last Post: 08-26-2009, 10:45 AM
  2. Replies: 7
    Last Post: 05-16-2009, 08:08 AM
  3. Adding a record based on combo
    By cjamps in forum Forms
    Replies: 1
    Last Post: 02-24-2009, 12:01 PM
  4. Replies: 0
    Last Post: 08-17-2008, 12:19 PM
  5. if record not found through combo box
    By wasim_sono in forum Forms
    Replies: 2
    Last Post: 08-04-2008, 06:32 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