Results 1 to 3 of 3
  1. #1
    nimesh844 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2013
    Posts
    2

    Question Access Check box and Option Button

    Hello Friends Please Help me



    I'm new to access. I have created table with following fields.
    ID No, Name, Address, Gender, Favorite Food
    I want to create form to insert data into tables. I have used option buttons for Gender and Check boxes for Favorite Food. But data didn't insert to the table specially option button and check boxes data didn't insert but other data successfully inserted into the table. Please someone help me
    Thanks

    Database1.accdb

    Nimesh

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,892
    Is Gender a yes/no or text type? You have the option buttons in an Option Group control? The Group control is bound to Gender field? The Option Group control will take the value of the selected button. The values must be numbers (use -1 and 0 for Yes/No). If Gender is text type and you want to save F or M into Gender will require code. Otherwise, use a combobox with two choices.

    Are you saving multiple values into Favorite Food? Check boxes will require VBA code. Otherwise use multi-select combo or list box. I NEVER use multi-value fields.

    Advise no spaces or special characters/punctuation (underscore is exception) in names.
    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
    nimesh844 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2013
    Posts
    2
    Thanks June7, Yes Gender is Text type.

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

Similar Threads

  1. set option button to true
    By crowegreg in forum Forms
    Replies: 2
    Last Post: 06-29-2012, 11:36 AM
  2. changing a check-box to an option box
    By lbn in forum Access
    Replies: 3
    Last Post: 08-14-2011, 02:25 PM
  3. Help with option group/check boxes?
    By bwest11 in forum Forms
    Replies: 3
    Last Post: 03-14-2011, 07:20 PM
  4. How too use check boxes and option buttons
    By newtoAccess in forum Forms
    Replies: 0
    Last Post: 12-03-2010, 04:41 PM
  5. Replies: 3
    Last Post: 11-03-2010, 09:53 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