Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12

    Access 2007 trying to make a control source tick box

    I Havent used access much, so hopefully this is a pretty simple thing to do.

    I have a database with about 16,000 people, i didnt create the database and what im trying to do is create a tick box like the ones in the database that only effects that client and not the entire database which is what is happening to me. I can make a tick box in design view but the box just effects everyone

    any help would be great thanks







  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    How is it affecting all records? There must be code or it is because of table relationships or the textbox is not bound to a field.

    My suspicion is that it is not bound, therefore the value is not saved to a table and the checkbox selection will show the same for all records on the form. Must have field in table for the checkbox to be bound to.
    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
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    hi thanks for the reply,

    Yeh thats what im trying to do, there are tutorials on the net but they dont really show you how its done properly.

    Is there a tut somewhere that i can try?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Open table in design view, add new field.

    Open form in design view, add new textbox. Set ControlSource property to the new field.

    This is the most basic Access functionality. Access Help has guidelines.
    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.

  5. #5
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    hi june,

    i know how to do that, but as i stated the tick box just greys out when i try to create a control source, or just effects every page

    i want to create an expression/control source like the unsuscribe or hottie
    as they are listed in the property sheet.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Don't understand how simple edit such as adding a field and control could be so problematic. You could provide project for analysis. Make copy, remove confidential data, run Compact & Repair, zip if still large, attach to 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.

  7. #7
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    its ok i figured it out, ive never really used access much even at all.

    Not sure if i should make another post, but is it easy to make a box or notification pop up with a u tick a box.

    On that database when u tick 3 boxes, a notification comes up saying "client call customer service" in bold red.

    as shown in pic


  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    You want a message to pop up if checkbox is checked 'yes'? This requires code, I use only VBA.

    You could use MsgBox. Search Access VBA Help about MsgBox and InputBox.
    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. #9
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    well not a message box like you would get when u close a program and it ask you yes or no.

    that box just appears but u can not interact with it. In design view u can edit its text or size. Once those 3 boxes are ticked it becomes part of that page(like it was part of the page to begin with).

    But of course it only effects that client and it goes away once u untick one of the boxes

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    That red letter message box is probably just a label that is set to not visible until certain condition is met, such as the 3 check boxes are checked. You want another message like that? Then explore the code that works to control that box and replicate it.
    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.

  11. #11
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    yes im pretty sure that would be it.
    thanks for the info by the way, i havent used access since highschool so im basically a scrub at the moment

    ill try and see if i can find the code thats making the box appear

  12. #12
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    i could attach a copy of the database, if it would help.

    its over 300MB so i can delete a bunch or records and save as another

  13. #13
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    If you are totally lost on finding the code, you could try condensing and then zip. Up to 2mb zip allowed.
    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.

  14. #14
    blueyedsamurai is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    12
    can only compress it to around 50MB, even after deleting every record and anything no related to the code

  15. #15
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Did you run Compact & Repair? If still too large, can upload to a fileshare site such as box.net and post link to the file.
    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.

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

Similar Threads

  1. Replies: 5
    Last Post: 10-13-2011, 03:36 PM
  2. Access 2007 - Form control with VBA
    By washington in forum Forms
    Replies: 1
    Last Post: 07-18-2011, 08:39 AM
  3. control source
    By nashr1928 in forum Forms
    Replies: 5
    Last Post: 03-12-2011, 09:31 PM
  4. Control Source
    By sarah54 in forum Access
    Replies: 1
    Last Post: 03-07-2011, 09:00 PM
  5. Invalidating dropdown control on Access 2007 ribbon
    By kenwarthen in forum Programming
    Replies: 0
    Last Post: 08-16-2010, 09:29 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