smitty27629
Registered User.
- Local time
- Today, 01:58
- Joined
- Jul 27, 2004
- Messages
- 12
From the switch board, the user clicks on the Create Monthly/Quarterly report. This opens a form where they enter the begining month, ending month, begining quarter, and ending quarter. After they type that in they click continue which initializes a macro that runs several queries based on the entered dates then opens a form displaying the results.
What I would like to do is, after the user clicks Monthly/Quarterly report, they would choose a month from a combo box, and type a year. From that form, four variables would get populated (beginMo, endMo, beginQtr, endQtr). Then those variables would get passed to the macro for further processing.
I think I have figured out how to get those variables populated using a switch case, but I'm not sure how to pass them to the macro. Or maybe, I'm barking up the wrong tree. Is there a better or easier way to do this? If I need to provide more info, please let me know. I can also provide the relevant forms and macro from my app if need be. Thank you for any help you can provide.
What I would like to do is, after the user clicks Monthly/Quarterly report, they would choose a month from a combo box, and type a year. From that form, four variables would get populated (beginMo, endMo, beginQtr, endQtr). Then those variables would get passed to the macro for further processing.
I think I have figured out how to get those variables populated using a switch case, but I'm not sure how to pass them to the macro. Or maybe, I'm barking up the wrong tree. Is there a better or easier way to do this? If I need to provide more info, please let me know. I can also provide the relevant forms and macro from my app if need be. Thank you for any help you can provide.