B
bobdydd
Hi All
Access 2007
I have a form with a ListBox called "ListContactTasks"
DoubleClicking the ListBox opens another form called "frmContact" at a
particular record corresponding to the one in the listbox Column(0)
The ListBox is on a form that has no recordset of it's own.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmContact"
stLinkCriteria = "[ContactID]=" & Me!
[ListContactTasks].Column(0)
DoCmd.OpenForm stDocName, , , stLinkCriteria
My problem is that it takes me to the correct record alright, but
applies a filter that endusers compalin about.
So my question: Is there a technique to achieve the above WITHOUT the
filter remaining on?
Regards and Thanks
Access 2007
I have a form with a ListBox called "ListContactTasks"
DoubleClicking the ListBox opens another form called "frmContact" at a
particular record corresponding to the one in the listbox Column(0)
The ListBox is on a form that has no recordset of it's own.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmContact"
stLinkCriteria = "[ContactID]=" & Me!
[ListContactTasks].Column(0)
DoCmd.OpenForm stDocName, , , stLinkCriteria
My problem is that it takes me to the correct record alright, but
applies a filter that endusers compalin about.
So my question: Is there a technique to achieve the above WITHOUT the
filter remaining on?
Regards and Thanks