"TonyAntique" u59027@uwe wrote in message news:a5a6118d13dbf@uwe...
How do I activate a command button on the main form when I double click
on the sub form?
The code would be like this:
Me.Parent!Command99.Enabled = True
But you'll need to define "double-click on the subform" more precisely. It's
probably the dblClick event of the subform's Detail section you want to use.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.