steven.butler
Registered User.
- Local time
- Today, 04:30
- Joined
- Jul 19, 2007
- Messages
- 12
Hello, I want to make a form with a conditional subform so that when selecting a specific value in one field, a specific subform appears.
I understand that it needs to go in the 'AfterUpdate' section of the field properties but I am struggling with coding it.
On the main form I have a Combo Box called 'Body System' (from the table '_Study') which can either be 'CV', 'PUL', 'Clinical' or 'CNS'.
When it is 'CV' I want to add the the subform 'Results CV'
When it is 'PUL' - the subform 'Results Pul'
When it is 'CNS' - the subform 'Results CNS'
When it is 'Clinical' - the subform 'Results Clinical'
I would be very grateful if somebody could help me with the coding that I need to be able to do this!
Thanks very much in advance for any help!
Steve
I understand that it needs to go in the 'AfterUpdate' section of the field properties but I am struggling with coding it.
On the main form I have a Combo Box called 'Body System' (from the table '_Study') which can either be 'CV', 'PUL', 'Clinical' or 'CNS'.
When it is 'CV' I want to add the the subform 'Results CV'
When it is 'PUL' - the subform 'Results Pul'
When it is 'CNS' - the subform 'Results CNS'
When it is 'Clinical' - the subform 'Results Clinical'
I would be very grateful if somebody could help me with the coding that I need to be able to do this!
Thanks very much in advance for any help!
Steve