I have a Search form which I have created that is activated on a form by a command buton. This form allows the User to pick a value from a Combo Box and then this value is used for the filter criteria on the form.
This works great, but I would like to be able to re-use this form for all of my other Find buttons on different forms. Right now, I have just been creating a new form every time I need it.
I would like to be able to add some code in my command button click event which I can use to define the link criteria of the form, the row source of the Combo Box, and the Document name. These are the only things that I have been changing on the different forms. I would really like to cut some of the fat from my application, since it has been getting kinda slow lately. (Currently have about 6 of these forms that serve the same purpose, and about 6 more in the works)
I don't have much experience with using modules, and this is what I think I need. If someone could show me how to design this function, I would really appreciate it.
This works great, but I would like to be able to re-use this form for all of my other Find buttons on different forms. Right now, I have just been creating a new form every time I need it.
I would like to be able to add some code in my command button click event which I can use to define the link criteria of the form, the row source of the Combo Box, and the Document name. These are the only things that I have been changing on the different forms. I would really like to cut some of the fat from my application, since it has been getting kinda slow lately. (Currently have about 6 of these forms that serve the same purpose, and about 6 more in the works)
I don't have much experience with using modules, and this is what I think I need. If someone could show me how to design this function, I would really appreciate it.