J
Jorge Novoa
Hello!
What I got:
Access XP, an MDB in 2002 format.
I got two forms: I have a form called "Retts", and a listbox called
"lstRetts" in the form "RettList".
What I want:
I want to locate a record and make it the current record from Retts by
double clicking on a row of the listbox in RettList.
What I've done:
I already know how to do it by opening the form and using o the 'open' event
of Retts:
If Me.OpenArgs = "OpenFromList" then
Me.CodRett.SetFocus
DoCmd.FindRecord Forms!RettList.lstRetts, acEntire, ,
acSearchAll, , acCurrent
End If
It works fine!!!, but my problem is when I double click on another item from
the list AND the form Retts is already open. Of course the open event won't
work. So.. how to handle this?
What I need: How to locate, and move to the specified record in the list,
even if the form Retts is already open?
Note: I prefer not to aplly filters, 'cause I'd like to browse the records
once a record is located.
Please help me!
Thanx!
What I got:
Access XP, an MDB in 2002 format.
I got two forms: I have a form called "Retts", and a listbox called
"lstRetts" in the form "RettList".
What I want:
I want to locate a record and make it the current record from Retts by
double clicking on a row of the listbox in RettList.
What I've done:
I already know how to do it by opening the form and using o the 'open' event
of Retts:
If Me.OpenArgs = "OpenFromList" then
Me.CodRett.SetFocus
DoCmd.FindRecord Forms!RettList.lstRetts, acEntire, ,
acSearchAll, , acCurrent
End If
It works fine!!!, but my problem is when I double click on another item from
the list AND the form Retts is already open. Of course the open event won't
work. So.. how to handle this?
What I need: How to locate, and move to the specified record in the list,
even if the form Retts is already open?
Note: I prefer not to aplly filters, 'cause I'd like to browse the records
once a record is located.
Please help me!
Thanx!