I like to hang functions on form and control events on the property Dialog. They work great except for one limitation. I would like to hang a function on the Before_Update Event, for example = TestDate(), and be able to set the Cancel Parameter in the function and have the Cancel executed.
I also use the Mouse_Down event of a button to print a report. If the user holds the shift key down I print the report, if not I preview it. I have a Function that prints reports but I have to insert it in the Mouse_Down event instead of just setting the Event Property to =PrintMyReport(....). I would be great to be able to get the Shift parameter in the function.
Does anyone know any way to accomplish this. If you do it will be Christmas in February!
Thanks for your help!
I also use the Mouse_Down event of a button to print a report. If the user holds the shift key down I print the report, if not I preview it. I have a Function that prints reports but I have to insert it in the Mouse_Down event instead of just setting the Event Property to =PrintMyReport(....). I would be great to be able to get the Shift parameter in the function.
Does anyone know any way to accomplish this. If you do it will be Christmas in February!
Thanks for your help!