ed_the_unlucky
Registered User.
- Local time
 - Today, 08:18
 
- Joined
 - Jan 28, 2008
 
- Messages
 - 30
 
i have encountered a situation i don't understand.
i have a subform that runs some VBA on the on open event.
(code takes 2 dates from textbox on form, runs report, e-mails to user.)
when i open the subform independently, everything works fine, but when the main form opens, the code doesn't work properly. do i need a different event to trigger the code when opening the subform from the main form?
 i have a subform that runs some VBA on the on open event.
(code takes 2 dates from textbox on form, runs report, e-mails to user.)
when i open the subform independently, everything works fine, but when the main form opens, the code doesn't work properly. do i need a different event to trigger the code when opening the subform from the main form?