S
suttoh
Hello,
I'm hoping someone can help me... I have a search form
in a contact database. When someone searches for a name
and the name appears in a listbox they should then be
able to doubleclick the name in that listbox and a more
detailed form is populated for that person. My
ondbleclick code for the listbox is:
Private Sub List22_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Contact Detail"
stLinkCriteria = "[contactID]=" & Me![List22]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
I recently changed the names of some of the fields in my
underlying source table and now when I doubleclick I am
getting requests to populate parameters. I know it has
to do with me changing the names, but I can't figure out
how to fix it. I need to keep the new names because they
need to match the data I'm automatically importing
regularly from a text file.
Help!!
Thanks!
I'm hoping someone can help me... I have a search form
in a contact database. When someone searches for a name
and the name appears in a listbox they should then be
able to doubleclick the name in that listbox and a more
detailed form is populated for that person. My
ondbleclick code for the listbox is:
Private Sub List22_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Contact Detail"
stLinkCriteria = "[contactID]=" & Me![List22]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
I recently changed the names of some of the fields in my
underlying source table and now when I doubleclick I am
getting requests to populate parameters. I know it has
to do with me changing the names, but I can't figure out
how to fix it. I need to keep the new names because they
need to match the data I'm automatically importing
regularly from a text file.
Help!!
Thanks!