Results 1 to 3 of 3
  1. #1
    New.User is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Apr 2018
    Posts
    37

    Edit Combo box with a warning pop up.

    I have combobox with a lookup. I want the user to add new records to the combobox but at the same time I want a pop up saying "Do you really want to add a new record because it cannot be deleted" or something like that.
    Do I need a code for it?

    Regards
    New. User

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,001
    Combo boxes have a List Items Edit form property that will open if they press the button that appears if you allow list value edits.
    That doesn't need much code, and gives you much better control (via the form) than simply letting them type things into the box.

    You may have other values in the row source that need entering and validating for instance.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    New.User is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Apr 2018
    Posts
    37
    Thank you Minty. I had given a look up for the cbox without tables and entered specific values. Anyways to solve that problem I gave a table as a row source. The problem is solved. I am almost at the end of my project but small requirements from my supervisor keep arising. I will post it in another thread.Thank you again for the suggestion.

    Regards
    New,User.

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

Similar Threads

  1. Combo box warning before update
    By Ruegen in forum Programming
    Replies: 1
    Last Post: 12-15-2014, 10:15 PM
  2. Using a combo box to open a form in edit
    By gopher in forum Forms
    Replies: 6
    Last Post: 01-18-2014, 11:26 AM
  3. edit combo box
    By slimjen in forum Forms
    Replies: 1
    Last Post: 10-20-2011, 09:52 AM
  4. combo box disable edit (update)
    By jheacox in forum Forms
    Replies: 10
    Last Post: 09-28-2009, 10:07 AM
  5. How to disable edit for combo boxes
    By access in forum Forms
    Replies: 3
    Last Post: 06-17-2009, 09:11 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