Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003

    Question Unanswered: Cycle through controls in Detail section

    Is it possible to cycle through the controls (For Each...Next) in just the Detail section of a form? In other words, I want to enable or disable combo and text boxes in just the Details section.

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    Not sure why you would want to do that... but you can cycle through them using Me.Detail.Controls()
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Feb 2004
    Chicago, IL
    Another way to do it if you only want a subset of the controls on the Details section is to use the Tag property. Set it to 1 for the ones you want to enable/disable. I have done that in the past if I have sections of a form to enable/disable. You can create one function and pass it the group (Tag=1, Tag=2, etc.) and treat them as one. This may not apply now but it may help you in the future.

Posting Permissions

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