Results 1 to 6 of 6
  1. #1
    nishant.dhruve is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Aug 2016
    Posts
    34

    radio button input name to table

    I want to Code my form in such a way that when i enter a value in text field it should take those values into tables related to field and crucial part for me is that when i select the radio button it should take label name of that radio button to the field related to it in table. image are shown below for form and table.Any can help please?

    AS you can see in form there are three text values employee id, firstname, lastname and radio button on the top i want those radio button label for example general prod to be saved into the related field in the table.




    This is my table

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Radio buttons are numeric NOT text.
    Use a combo box for text values.

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    This is my table
    Uh.... your attachments are not showing.....

  4. #4
    nishant.dhruve is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Aug 2016
    Posts
    34
    Click image for larger version. 

Name:	Capture0.PNG 
Views:	11 
Size:	10.2 KB 
ID:	25416Click image for larger version. 

Name:	Capture.PNG 
Views:	11 
Size:	12.0 KB 
ID:	25417

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    What you want is doable, but it will require some VBA.
    I'm guessing that the options equate to the "AreaOfOper" field?

    The options really should be in an Option Group because having them like the picture allows multiple options to be selected. An Option Group allows for only one option at a time to be selected.

    Instead of an option group, you might consider using a list box.

    So what is your process? Select an Area of Operation, Enter an Employee ID, First & last names, then click the Save button? If yes, is there code on the click event of the save button?

  6. #6
    Micron is online now Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Looks like another double posting.
    https://www.accessforums.net/showthr...657#post327657

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

Similar Threads

  1. Radio button help
    By nishant.dhruve in forum Access
    Replies: 10
    Last Post: 08-11-2016, 07:38 AM
  2. Replies: 2
    Last Post: 02-16-2013, 04:32 PM
  3. Uncheck Radio Button?
    By taimysho0 in forum Programming
    Replies: 2
    Last Post: 06-29-2012, 03:44 PM
  4. Command button to input data in a table
    By wilsgaard in forum Forms
    Replies: 1
    Last Post: 08-07-2011, 07:59 PM
  5. Replies: 6
    Last Post: 07-20-2011, 11:54 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