soundsfishy
Registered User.
- Local time
- Tomorrow, 04:11
- Joined
- Sep 25, 2002
- Messages
- 174
I have a search form and when the user click the name in the results, I need to form to close. I cant seem to make the search form close after frmProposerMain is opened. What am i missing!
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmProposerMain"
stLinkCriteria = "[ProposerID]=" & Me![lstResults]
DoCmd.Openform stDocName, , , stLinkCriteria
Me![lstResults] = ""
DoCmd.CLOSE acForm, "frmSearchPerson"
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmProposerMain"
stLinkCriteria = "[ProposerID]=" & Me![lstResults]
DoCmd.Openform stDocName, , , stLinkCriteria
Me![lstResults] = ""
DoCmd.CLOSE acForm, "frmSearchPerson"