Results 1 to 3 of 3
  1. #1
    Nanuaraq is offline Advanced Beginner
    Windows 7 32bit Access 2013 32bit
    Join Date
    Mar 2017
    Posts
    77

    How to transform yes/no into a group of two control buttons (radio buttons or otherwise)

    Forgive me if I put up a rather simple question, but how to do the form as I want?

    I have a table of information about Fields. They may be approved or not approved. The two exclude each other so it is a simple "yes/no". In human terms, the user knows that it's not approved until positively approved.

    My field table thus looks like this:

    Click image for larger version. 

Name:	table.png 
Views:	10 
Size:	4.5 KB 
ID:	28370

    I query this table in order to find relevant information. Also, I need to look at information from the field table in a query together with other information, but that is immaterial here. So for the simple version, the query I made will look like this:

    Click image for larger version. 

Name:	query.png 
Views:	10 
Size:	4.8 KB 
ID:	28371

    This query I would now like to put into a form for user access. This is simply done and looks like this:



    Click image for larger version. 

Name:	form.png 
Views:	10 
Size:	5.3 KB 
ID:	28372

    The example above is row no. 2, showing us information about field no. 3, and that it is approved. The user only need to look at one field at a time, so a simple form like this works well.

    However, for the visual impact on the user, I would lke the user to be presented to a choice between "approved" and "not approved", rather than the yes/no checkmark. It looks better with radio buttons showing that user these two options, like this (the below image is edited in paint to look like what I want, representative of what I cannot actually do in Access):

    Click image for larger version. 

Name:	janej.png 
Views:	10 
Size:	6.1 KB 
ID:	28373
    Naturally, these radio buttons should exclude one another, so as soon as one is selected, the other is deselected, relative to the option of "approved" having a checkmark or not.

    Alternatively, it would also be fine to have checkboxes there instead of radio button, as long as the functionality is the same (checking one unchecks the other, and corresponds to yes/no in the table). Like this:

    Click image for larger version. 

Name:	formjanej.png 
Views:	10 
Size:	7.4 KB 
ID:	28374
    The last option is actually the preferable one (because it looks like this in a paper form we receive from customers), but I'm not sure it can be done in access.

    This should be simple, right? I just can't figure out how

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    What about making the value of the non-approved box = not([approved])




    Sent from my iPhone using Tapatalk

  3. #3
    Nanuaraq is offline Advanced Beginner
    Windows 7 32bit Access 2013 32bit
    Join Date
    Mar 2017
    Posts
    77
    Quote Originally Posted by andy49 View Post
    What about making the value of the non-approved box = not([approved])
    I didn't understand that? Please specify.

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

Similar Threads

  1. Option group radio buttons
    By sharonir22 in forum Forms
    Replies: 3
    Last Post: 07-04-2015, 11:11 PM
  2. Replies: 9
    Last Post: 06-26-2014, 03:10 AM
  3. Replies: 6
    Last Post: 12-04-2013, 07:00 PM
  4. Radio buttons within Option Group not working
    By losingmymind in forum Programming
    Replies: 7
    Last Post: 01-09-2013, 03:09 PM
  5. option group radio buttons
    By ManC in forum Forms
    Replies: 9
    Last Post: 03-08-2010, 03: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