I do not know if this is possible or how to begin trying to figure it out. I have many controls that do the same function. I have it set up that when they click on a textbox the date automatically populate the control. I then have it so if they click it again, they can delete the date or keep it. I have the textboxes labelled the same (dteMT0, dteMT1, etc...). Rather than have to do an on_click for each of these, is there a way I can set up one on_click function to work for all?
I have been using the following code for quite a bit and it seems to work but not sure if it would for this...
Me.Controls("optlvl" & CStr(a)).Value
where 'a' is an integer in a for next loop
I have been using the following code for quite a bit and it seems to work but not sure if it would for this...
Me.Controls("optlvl" & CStr(a)).Value
where 'a' is an integer in a for next loop