Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Mar 2006
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    OnCurrent (Access 2000)

    How can y synchronize my list boxin the form ? suppose i should use the on current event.I am sending the atachement with the list box, which i would like to corresond with the chosen customer

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: OnCurrent (Access 2000)

    1) Change the Row Source of the list box to include only records for the current customer:

    SELECT Customerid, paymentid, SumOfliters FROM Query2 WHERE CustomerID = Forms!FCustomers!CustomerID

    2) Create an On Current event procedure for the form:

    Private Sub Form_Current()
    Me.List78.Requery
    End Sub

  3. #3
    2 Star Lounger
    Join Date
    Mar 2006
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: OnCurrent (Access 2000)

    Thank you very much, Hans !

Posting Permissions

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