Send to Back Using VBA (1 Viewer)

D

Dominic

Guest
Help! I have a report that I would like to add a control to and then send it behind other controls.
I can create the control OK, but I cannot 'send to back'. Clearly I can do this manually by selecting the control and clicking 'send to back ' from the menu. But how do I do it programmatically.
I can see the RunCommand acSendToBack but when I do this I get a message that the command cannot be run at this time. It is as though Access doesn't know what control I ma referring to?
Any ideas?

Thanks in advance!
 
D

Dominic

Guest
Thanks Matt,
Its at run time!
 

Users who are viewing this thread

Top Bottom