On Thu, 23 Oct 2003 16:20:43 -0500, William Case
<re**********@nospam.zap> wrote in comp.databases.ms-access:
Thanks Peter. I just tried to do this. Screen.ActiveControl has no
Name property!
But of course it does.
Did you actually try this?
Remember that in order to use the name property, there must be an
active control. If you are testing and you don't actually have an
active control, then of course, you can't get its name.
If you're wondering why intellisense doesn't offer a name property
when the active control *does* exist, remember that activecontrol is a
placeholder or generic object pointer. It will, as a result, allow
for the use of methods and properties that are legal for the active
control, even if not common to all controls and therefore not listed
in intellisense popups.
Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051