andrefrancis
andrefrancis
- Local time
- Yesterday, 22:02
- Joined
- Mar 11, 2005
- Messages
- 40
I am trying to address a subform field.
If I address the subform as a separate form, the following code works OK
DoCmd.OpenForm frmSessions, , , "Issue = true"
However, once I try to access it as a subform, I get a bit lost.
The main form is frmJobSess, the control that holds the subform is Sessions and the subform is (as above) frmSessions.
I have tried:
DoCmd.OpenForm frmJobSess, , , "Sessions.frmSessions.Issue = true"
but it doesn't work.
. I have also tried other things ... but there is not enough time in the world to try all possible combinations 
Should I be using exclamation marks? I know I don't need square brackets since all my names are without spaces.
Can anyone help?
If I address the subform as a separate form, the following code works OK
DoCmd.OpenForm frmSessions, , , "Issue = true"

However, once I try to access it as a subform, I get a bit lost.
The main form is frmJobSess, the control that holds the subform is Sessions and the subform is (as above) frmSessions.
I have tried:
DoCmd.OpenForm frmJobSess, , , "Sessions.frmSessions.Issue = true"
but it doesn't work.


Should I be using exclamation marks? I know I don't need square brackets since all my names are without spaces.
Can anyone help?