Right. I have a button that will create a label on another form, this button will display the name of something etc. I have also set the .OnClick procedure of any newly created label to a macro which opens up a new form. However I want to display information on this form that is revelant to the label clicked.
So far, the macro runs a function before opening the form.
My first idea was to use the filter on the OpenForm action in the macro to link the caption on the label to the information on the new form.
I then realised I had no way, in my knowledge, of how to retrieve the caption of the clicked label without giving it it's own procedure.
Please let me know if you would like some code or something to help, as I know I'm not the greatest at explaining
and this is probably really confusing
Thanks in advance!!
So far, the macro runs a function before opening the form.
My first idea was to use the filter on the OpenForm action in the macro to link the caption on the label to the information on the new form.
I then realised I had no way, in my knowledge, of how to retrieve the caption of the clicked label without giving it it's own procedure.
Please let me know if you would like some code or something to help, as I know I'm not the greatest at explaining
Thanks in advance!!