Results 1 to 3 of 3
  1. #1
    Pogi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    1

    Create command button to set combo box to default value

    Hello,

    I created a database to track members in my school. I have created a form that has everyone's information including wheather or not they paid for this month's touition. My "Paid" field is a check box so I know if the member has paid or not. I have over 200 members to track. At the end of the payment cycle I would like to have a button that would have the check box back to it's default value of False. I have tried:

    me.paid = False

    I get a message saying "You can't assign a value to this object"



    Let me know if more information is needed. Thanks in advance for the help.

    Pogi

  2. #2
    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,917
    It sounds like your RecordSource is not updateable. http://allenbrowne.com/ser-61.html

  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,917
    I would assume you have an expiration date field. If it is < today then they have not paid. No Yes/No field required.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-19-2012, 11:03 AM
  2. Combo box & Command button to report
    By Solstice in forum Reports
    Replies: 4
    Last Post: 09-10-2011, 10:12 PM
  3. Replies: 7
    Last Post: 01-12-2011, 01:41 PM
  4. Replies: 1
    Last Post: 07-27-2010, 02:27 PM
  5. Create a command button to Browes for file
    By sawill in forum Programming
    Replies: 3
    Last Post: 03-15-2009, 05:02 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