C
coolman
Hello,
Im in the process of coding an MSAccess application which demands
this req.
I have 30 command buttons in a form. Now, I need to find out which of
these 30 command buttons have been clicked. One crude way of doing it
would be to have 30 onclick functions. Are there any workarounds.
can i do some thing like this.
for each control in form
if control type=commandbutton then
msgbox commandbutton.caption
end if
next control
Any help would be greatly appreciated.
Cheers,
Coolman.
Im in the process of coding an MSAccess application which demands
this req.
I have 30 command buttons in a form. Now, I need to find out which of
these 30 command buttons have been clicked. One crude way of doing it
would be to have 30 onclick functions. Are there any workarounds.
can i do some thing like this.
for each control in form
if control type=commandbutton then
msgbox commandbutton.caption
end if
next control
Any help would be greatly appreciated.
Cheers,
Coolman.