How do I trigger an event on opening a record

G

Geoff Budd

I have an Access 2003 form where I would like to take an action (e.g. via an
event procedure or macro) whwnever the user opens a record for editing (e.g.
via the arrowed record selector buttons). Effectively what I want is
something like an On Enter or On Open control but relating to a whole record.
It seems that such a control is only available for (e.g.) a text box, which
relates to a single field in a record. I thought there would be something in
the Detail section of the form as I thought that section related to whole
records (?) but there isn't such a control there.
Any ideas would be very helpful. Thanks in advance.
Geoff
 
R

Rob Parker

Hi Geoff,

I don't really understand what you mean by "the user opens a record for
editing". Hoiwever, I suspect that what you want is the On Current event of
the form, which is triggered whenever the user moves to another record - by
any means.

HTH,

Rob
 
G

Geoff Budd

Thanks Rob, that worked fine.

Regards,
Geoff

Rob Parker said:
Hi Geoff,

I don't really understand what you mean by "the user opens a record for
editing". Hoiwever, I suspect that what you want is the On Current event of
the form, which is triggered whenever the user moves to another record - by
any means.

HTH,

Rob
 

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