i have a subroutine called recalc and want to call it both from the main form and a subform contained within (on an afterupdate method). how can i call this subroutine from the child form?
I have a form with 32 labels, 32 combo boxes with slightly different sql querys each, and 32 buttons. I know access doesnt support control arrays, but i cant see any other way of doing it without individually naming each control and pasting in 96 instances of code then changing the names. which...
in vb you make say 10 controls named command(0) - command (9)
the sub to drive them is command_click
you put your code in there and command.index will be the number of the individual button
with frames i still cant get command_click sort of functionality, ive got a hack going at the moment...
I have a form with 32 labels, 32 combo boxes with slightly different sql querys each, and 32 buttons. I know access doesnt support control arrays, but i cant see any other way of doing it without individually naming each control and pasting in 96 instances of code then changing the names. which...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.