Results 1 to 3 of 3
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Combo box to choose fields

    I require a combo box to requery a continuous form to swap the email field to a different email field on the same record



    so

    email1 email2 email3

    depending on what is selected in the combo box

    so

    if I were to choose email2 all the email1 fields in the continous form would have their control source swapped to email2

    the problem I have is making a combo box that allows me to display the three fields, email1, email2, email3 as currently they are all in the same. I'd like a customized combo box I guess...

    any suggestions?

    Update


    Currently I am using this below but I would like to swap it for a combo box to save space
    Click image for larger version. 

Name:	Capture.JPG 
Views:	10 
Size:	14.7 KB 
ID:	14635

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I don't understand what you mean by 'swap'. What's wrong with showing all 3 fields and having 3 comboboxes?

    A UNION query could combine all three into a single dataset for 1 combobox.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    I don't understand what you mean by 'swap'. What's wrong with showing all 3 fields and having 3 comboboxes?

    A UNION query could combine all three into a single dataset for 1 combobox.

    hmm.. might just stick with the option group

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

Similar Threads

  1. Replies: 3
    Last Post: 07-03-2013, 10:38 AM
  2. Replies: 2
    Last Post: 10-07-2011, 08:13 PM
  3. Choose Parameter combo box for report
    By RobRay in forum Reports
    Replies: 10
    Last Post: 08-10-2011, 02:48 PM
  4. Choose whether to display empty fields in a report
    By exoticdisease in forum Access
    Replies: 1
    Last Post: 08-18-2010, 09:12 AM
  5. Replies: 1
    Last Post: 07-24-2010, 07:46 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