How to trap events on subform

G

Guest

Hi,
have a main form and a subform. I'd like to perform some computation
when some events (e.g. keypress, lost focus, ..etc) are triggered on the
subform. I realize that the subform only has onenter and onExit events. is
possible to trap other events (keypress/lostfocus) work if i launches the
subform independently. please help.
 
G

Guest

Hi Jeff
Subforms have a full range of events available. What you're seeing are the
two events that apply between the subform and the main form.
When you have the main form open in design view, click on the subform once
to select it and then double-click on the small square in the top-left corner
of the subform to view the properties. You'll see all manner of events are
listed.

Hope this helps,

Lee
 
G

Guest

Lee,
Thanks for ur response, but there is no small square on the upper left
corner on the subform. The subform looks a bit different (there is no
controls displayed for some reason, and it only shows the name of the table -
table.tblbatchdetails - the rest of the subform is grey out).

Thanks,
 
G

Guest

mmm, this is odd!! Would you mind sending me a screenshot of what you see?
My address is (e-mail address removed).
(To take a screenshot, bring the form/subform up in design view, press Alt
plus Print Screen - this will copy the screen to the clipboard - and then
paste the image into a word document)

Regards,

Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top