View Full Version : Send to Back Using VBA


Dominic
10-11-1999, 02:23 PM
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!

Matt Gilbert
10-20-1999, 01:55 AM
Is this at design or run-time?

Dominic
10-22-1999, 11:23 PM
Thanks Matt,
Its at run time!