Results 1 to 2 of 2

Thread: checkboxes in Access 2000

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Posts
    24

    Unhappy checkboxes in Access 2000

    I have a form with several checkboxes. I want to be able to check these checkboxes for the ones selected by the user and then run a certain report for the specific checkbox selected. I have about 20 checkboxes and would like an easy way of looping through these but don't know how. Please Help!

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub Command1_Click()
    2.     Dim c As Control
    3.     For Each c In Me
    4.         If TypeOf c Is CheckBox Then
    5.             Debug.Print c.Value
    6.         End If
    7.     Next c
    8. End Sub

    will that do ?
    -= a peet post =-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width