J
johnlute
I have a main form with a listbox that displays primary keys that are
related to the main form's primary key. The list box has a double
click event that re-opens the main form and navigates to its record:
Private Sub lstProfilesAssocs_DblClick(Cancel As Integer)
DoCmd.OpenForm "KEYSTONEqryrpt", acNormal, _
WhereCondition:="txtProfileID='" & Me!lstProfilesAssocs.Column
(0) & "'"
End Sub
The problem with this is that it filters the main form to the one
record. How can I change this so that it navigates to the desired
record but NOT filter everything else out?
Thanks!
related to the main form's primary key. The list box has a double
click event that re-opens the main form and navigates to its record:
Private Sub lstProfilesAssocs_DblClick(Cancel As Integer)
DoCmd.OpenForm "KEYSTONEqryrpt", acNormal, _
WhereCondition:="txtProfileID='" & Me!lstProfilesAssocs.Column
(0) & "'"
End Sub
The problem with this is that it filters the main form to the one
record. How can I change this so that it navigates to the desired
record but NOT filter everything else out?
Thanks!