Record Selectors

T

Tom

Record Selectors:

I am using Multiple Form Tabs(pages) to do data entry, with several other
sub Forms which are tied via tied “link Child/Master Fieldâ€

Since, the user could be using one of several “pages/Tabs†I run a macro
triggered by “OnEnter†into a data field which writes the data into a common
txt box used for linking the sub forms. This all works fine

My Issue: When someone uses the “Next record†buttons at the bottom of the
form, I have nothing to trigger the maco. What code can I use to know when
these selectors are pushed?

Regards Tom
 
M

Marshall Barton

Tom said:
Record Selectors:

I am using Multiple Form Tabs(pages) to do data entry, with several other
sub Forms which are tied via tied “link Child/Master Field”

Since, the user could be using one of several “pages/Tabs” I run a macro
triggered by “OnEnter” into a data field which writes the data into a common
txt box used for linking the sub forms. This all works fine

My Issue: When someone uses the “Next record” buttons at the bottom of the
form, I have nothing to trigger the maco. What code can I use to know when
these selectors are pushed?


The form's Current event fires after a different record
becomes current. Most likely, this is where you where you
would set the value of the linking text box.

If the current record has been edited, then the form's
BeforeUpdate and AfterUpdate events are triggered before
moving to a different record. This is where you would do
something before leaving the current record.
 

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