Okay, this should be simple, but I don't have much experience using class modules. I tried browsing around for an answer, but I think my level of expertise (or lack thereof) on this matter would make it as easy to find here as the needle in the haystack.
I have several different forms that must synchronize a pseudo-array of checkboxes with a listbox. (I.e. checkbox2 corresponds to row 2 of the listbox, etc.) I need to right a common procedure that does this for all the forms containing these objects. I have coded an AfterUpdate event for one of the combo boxes that triggers this synchronization.
What I tried doing (which is obviously wrong) is creating a module and cutting and pasting the code from the cbo afterupdate event. This gives me an "Invalid Outside Procedure" error when I try calling the module.
Pretty much what I am attempting to do is call the procedure as literally into the form module's cbo afterupdate event.
In the code I have variables defined and manipulated, and form object properties manipulated like: Me!lstPosition = ""
Life will be much easier if I learn how to do this properly... Thank you so much for ur help!
I have several different forms that must synchronize a pseudo-array of checkboxes with a listbox. (I.e. checkbox2 corresponds to row 2 of the listbox, etc.) I need to right a common procedure that does this for all the forms containing these objects. I have coded an AfterUpdate event for one of the combo boxes that triggers this synchronization.
What I tried doing (which is obviously wrong) is creating a module and cutting and pasting the code from the cbo afterupdate event. This gives me an "Invalid Outside Procedure" error when I try calling the module.
Pretty much what I am attempting to do is call the procedure as literally into the form module's cbo afterupdate event.
In the code I have variables defined and manipulated, and form object properties manipulated like: Me!lstPosition = ""
Life will be much easier if I learn how to do this properly... Thank you so much for ur help!