Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    rhubarb is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    76
    I was trying both as neither of them seem to work:



    Currently:

    Private Sub lstTicketReport_AfterUpdate()

    If Me.lstTicketReport.Selected(1) = True Then
    Me.txtStartDate.Enabled = True
    Me.txtEndDate.Enabled = True

    End If


    InitFilterItems


    End Sub

  2. #17
    rhubarb is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    76
    Finally, I was missing the Requery. Thank you for your patience and assistance!

    Private Sub lstTicketReport_AfterUpdate()


    Me.lstTicketReport.Requery

    If Me.lstTicketReport.Selected(1) = True Then
    Me.txtStartDate.Enabled = True
    Me.txtEndDate.Enabled = True
    Else
    Me.txtStartDate.Enabled = False
    Me.txtEndDate.Enabled = False
    End If


    InitFilterItems


    End Sub

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Glad you figured it out. I have no idea why requery resolved the issue.
    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 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filter to a date range ala Allen Brown
    By kekawaka in forum Forms
    Replies: 2
    Last Post: 10-10-2011, 12:19 PM
  2. Date Range filter in a Duplicate query
    By knickolyed in forum Forms
    Replies: 0
    Last Post: 06-27-2011, 04:56 AM
  3. Replies: 13
    Last Post: 09-27-2010, 03:10 PM
  4. Define a date range for a report - Help
    By Optimus_1 in forum Access
    Replies: 4
    Last Post: 06-02-2010, 04:50 AM
  5. Replies: 3
    Last Post: 09-29-2009, 07:08 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