jazzscreamer
Registered User.
- Local time
- Yesterday, 20:01
- Joined
- Mar 27, 2004
- Messages
- 31
Hi,
I'm trying to open up a form named "Case" from a subform named "Case List". "Case List" is on the form "Client". I'm opening case with a control button on the subform. I want "Case" to be opened to the same caseID that is selected in "Case List". This is the code I have now.
strDocName = "Case"
strLinkCriteria = "[caseID] = Forms![Case List]![caseID]"
DoCmd.OpenForm strDocName, , , strLinkCriteria
However, this is not working properly. Is there something I'm missing here? Thank you for any help.
Joel
I'm trying to open up a form named "Case" from a subform named "Case List". "Case List" is on the form "Client". I'm opening case with a control button on the subform. I want "Case" to be opened to the same caseID that is selected in "Case List". This is the code I have now.
strDocName = "Case"
strLinkCriteria = "[caseID] = Forms![Case List]![caseID]"
DoCmd.OpenForm strDocName, , , strLinkCriteria
However, this is not working properly. Is there something I'm missing here? Thank you for any help.
Joel