Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    hi June7. thank you for your posts. I unbound the optiongroup controls and already set Me.OptionGroup = Null but yes, I bound the check boxes to fields...shouldn't I? how will the values represented by the check boxes be posted to the right table fields..? Please advise

  2. #17
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    also, when I check any ofthe options in a particular group, I get error '3032': Cannot perform this operation what could be wrong? all the other checkbox groups are fine when I check them

    when I click on debug, I'm taken to this line of code: Me!ASAWhy = Choose(Me.Frame23, "Allergy", "UGIB", "GCS<8")
    For the life of me, I can't figure out why

  3. #18
    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 would think the checkboxes should be bound and not within an option group.

    What data type is ASAWhy?

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  4. #19
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    Okay thanks but the other checkbox OptionGroups are fine only this pesky one.
    The data type (in table) is text. Its display control is Listbox and row source type is value list... I'll strip it down and upload if you still require it

  5. #20
    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 are doing. If the control is a listbox, why do you use code referencing a frame to save value?
    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.

  6. #21
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    on the table I made it a list box because I was going to provide a list of options to choose from but on the form, the options are represented by check boxes ("Yes" "No" "Undetermined") in an options group

  7. #22
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239

    Forms - Radio buttons

    here is the stripped down copy. I hope it attaches properly
    Attached Files Attached Files

  8. #23
    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 see a field ASAWhy as shown in post, I see [ASA] and [why]. ASA has listbox settings for ("Yes" "No" "Undetermined") and [why] has ("Allergy";"UGIB";"GCS<8"). [why] is used in the actual code.

    [why] is set as a multi-value field. Cannot add data to a multi-value field with the code you have. If you want this to be a multi-value, use listbox/combobox or more complicated code.

    I NEVER use multi-value fields.


    BTW, correct spelling: oxygen - 'Oxigine was given by:'
    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.

  9. #24
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    Hi June7 thank you so much. I guess I was almost getting cross eyed from staring so long at my screen. That was an error and I've recreated the field without multiple values. Also, the name was ASAwhy previously but in desperation I changed it to why. I was trying different things in the hope that the pesky bug would go away. I couldn't tell why the other check boxes were okay and this one wasn't. It pays to have a fresh set of eyes look at your work.

    I've also corrected the wrong spelling. A million thanks

  10. #25
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    dunno how to flag my post as SOLVED, sorry

  11. #26
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Thread Tools dropdown above first post.
    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.

  12. #27
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    roger that

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Radio Buttons
    By maguyver in forum Access
    Replies: 3
    Last Post: 07-07-2012, 10:39 AM
  2. Radio Buttons
    By ccordner in forum Forms
    Replies: 1
    Last Post: 01-27-2012, 09:56 AM
  3. Radio Buttons
    By neil123williams in forum Forms
    Replies: 8
    Last Post: 11-11-2011, 03:38 PM
  4. what happened to radio buttons?
    By judomum in forum Forms
    Replies: 1
    Last Post: 10-09-2011, 11:58 AM
  5. radio buttons from 97 to 2010
    By mmm in forum Access
    Replies: 0
    Last Post: 12-03-2010, 04:20 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