Results 1 to 5 of 5
  1. #1
    markod is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    9

    Question Checkbox Question


    Hello,

    I have a form that uses two tables (TABLE_SN and TABLE_DETAIL). TABLE_SN is used to provide a list of serial numbers in a combo box. TABLE_DETAIL is used to record customer information.

    Basically I would like to have a checkbox on the form that updates a field “AVAIL” on the “TABLE_SN” table. This checkbox should always reflect the value of this field. In other words, when a new record is created if the “AVAIL” field is populated with”Yes” then the checkmark will be checked by default.

    This may be really easy to do but I haven’t had any luck.

    Thanks

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    View [TABLE_SN] in Table Design mode, and select the [AVAIL] field.

    Since you want to connect this field to a checkbox, you should probably use the "Yes/No" Data Type.

    On the General tab, set the Default Value for the [AVAIL] field to "Yes" (but don't use the quotes).

    Add the checkbox to your form (in form design view) for [TABLE_SN] and set the Control Source to the [AVAIL] field.

    Cheers,

  3. #3
    markod is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    9
    Thanks for your quick response. Forgive my rookieness but it seems only the fields in the "TABLE_DETAIL" table are available in the Control Source drop down. Is there a way to reference the TABLE_SN fields? I've tried typing in TABLE_SN.AVAIL but this is invalid.

  4. #4
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    I was wondering about that. I had assumed, when you stated:
    Quote Originally Posted by markod View Post
    I have a form that uses two tables (TABLE_SN and TABLE_DETAIL).
    that you were referring to a form/subform arrangement. I guess that isn't the case.

    What is the relationship between [TABLE_SN] and [TABLE_DETAIL]? How are they joined? What fields do they have in common?

  5. #5
    markod is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    9
    Poking around I ended up going with a subform to edit the fields. Thanks for replying and your assistance.

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

Similar Threads

  1. Checkbox
    By Patience in forum Access
    Replies: 5
    Last Post: 06-22-2010, 05:37 AM
  2. Using a checkbox help
    By gbjc105 in forum Forms
    Replies: 1
    Last Post: 01-28-2010, 08:27 PM
  3. Yes/No Checkbox Question
    By Richard in forum Access
    Replies: 3
    Last Post: 10-07-2009, 03:14 PM
  4. Checkbox
    By Rbtsmith in forum Access
    Replies: 2
    Last Post: 02-17-2009, 04:19 PM
  5. easy checkbox question
    By nelsok in forum Forms
    Replies: 1
    Last Post: 06-09-2006, 05:46 PM

Tags for this Thread

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