Results 1 to 4 of 4
  1. #1
    Bhat59 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Udupi, INDIA
    Posts
    20

    Binding a checkbox to a subform

    Hi, Is it possible to bind a checkbox in the main form to a filed in the subform? When I go to the property sheet of the checkbox & see its control source, only the fields in the main form are shown for binding but not the fields in the sub form.



    Actually I have four check boxes one each for Video,Audio,Photos and Notes. Whenever numbers of their discs are typed in the subforms, check boxes relating to them in the main form should be marked as checked. If the fields are left blank then they should be marked as unchecked.

  2. #2
    Bhat59 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Udupi, INDIA
    Posts
    20
    I think I solved the problem through the expression builder in the property sheet of the form. Only thing is that the check mark didn't appear in the related table.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You can *only* bind control to fields in the RecordSource of the form on which the control resides if you want the control to affect the RecordSource. Obviously the control can *show* data from other sources but then it does not affect the tables.

  4. #4
    Bhat59 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Udupi, INDIA
    Posts
    20
    OK, Thank you for the reply. I am surprised because when I was manually marking the check box, it was affecting the table! I will mark the thread as solved.

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

Similar Threads

  1. Binding 'count' <>1 to appropriate key
    By Captain Database ...!! in forum Queries
    Replies: 2
    Last Post: 06-09-2011, 06:44 PM
  2. Checkbox help
    By NateHaze in forum Programming
    Replies: 3
    Last Post: 05-26-2011, 02:50 PM
  3. Binding a Combo Box Search Result
    By cvansickle in forum Forms
    Replies: 2
    Last Post: 12-06-2010, 11:03 AM
  4. binding report field to variable
    By frente in forum Reports
    Replies: 1
    Last Post: 10-19-2009, 02:48 AM
  5. Checkbox
    By Rbtsmith in forum Access
    Replies: 2
    Last Post: 02-17-2009, 04:19 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