Charlotte Foust
cfoust at infostatsystems.com
Tue Sep 6 11:04:25 CDT 2005
It isn't magic, but I just use the control dropdown in the toolbar to select the control. That sets the focus to it. However, you won't always be able to see the control that has the focus, because it may be obscured by other controls/subforms. You can't run code in design view unless you're using an add-in of some sort. I guess you'll just have to write an add-in for this, Arthur. ;-} Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, September 03, 2005 12:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] GoTo Control command? Assume (gasp) a form with N subforms, and said master form open in design mode. Is there a command "GoTo Control"? In my perfect world, it would search the current form then the subforms, finally either arriving at the desired control or yelling at me that no such control exists. I would want said command to be scoped by the current form and its subforms, else I might end up on an unrelated form. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com