Results 1 to 2 of 2
  1. #1
    Bongobob21 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    29

    Use a combobox to create a new Search Field

    Hi,

    I have an Idea for an Access form I am creating. I want to use a combobox to select a search criteria. If this criteria is selected it should create a new Textbox in the Form with the selected criteria as the name and the caption. Is it possible to create a textbox and assigning the name and caption to it, by updating a combobox? If possible, I would like to create up to 5 textboxes by updating the combobox. This idea has to be expanded, as I would also like to have the option to delete the last fields if too many have be choosen. But I think creating a textbox by updating a combobox would be the first step.

    Thank you very much!

  2. #2
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    Check the form design property on their "OnEnter", "AfterUpdate", ... etc.
    You are creating an unbound form and control the value and visible of the textbox, combobox, etc.
    Database1.accdb
    See if it helps.

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

Similar Threads

  1. Replies: 1
    Last Post: 06-25-2014, 01:05 PM
  2. Replies: 2
    Last Post: 04-17-2013, 02:12 PM
  3. Replies: 5
    Last Post: 07-13-2012, 01:15 AM
  4. Replies: 4
    Last Post: 05-29-2012, 01:32 PM
  5. Create filter for multiple field search
    By luvsmel in forum Forms
    Replies: 5
    Last Post: 01-02-2012, 11:12 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