AfterUpdate won't execute

V

vegathena

I am working with a multi page form. I have copied this form from an
mdb and pasted it into an adp. On one of the pages I have several text
fields that have AfterUpdate procedures. However, nothing happens when
they are updated (the same goes for Enter and LostFocus). These fields
are on the last page of the form.
AfterUpdate procedures work for other fields in the other pages of the
form.

What could be going on?

Thanks in advance for your help.
 
T

Tom van Stiphout

On Tue, 4 Dec 2007 05:55:11 -0800 (PST), (e-mail address removed) wrote:

Most likely this is the problem where internally the event procedure
is disconnected from the control. Proceed as follows:
Select the control > Properties > Events > Click on the ... button to
the right.
This should open the code window to the (already existing) event
procedure, and re-establishes the internal connection. Your event will
now fire. Repeat for all others.

-Tom.
 
V

vegathena

On Tue, 4 Dec 2007 05:55:11 -0800 (PST), (e-mail address removed) wrote:

Most likely this is the problem where internally the event procedure
is disconnected from the control. Proceed as follows:
Select the control > Properties > Events > Click on the ... button to
the right.
This should open the code window to the (already existing) event
procedure, and re-establishes the internal connection. Your event will
now fire. Repeat for all others.

-Tom.

Thanks Tom.

Actually the properties are set correctly. Event Procedure is listed
for AfterUpdate event. So the internal connection is established. It
just won't fire!
Any idea as to how this could occur???
 
T

Tom van Stiphout

On Tue, 4 Dec 2007 08:56:02 -0800 (PST), (e-mail address removed) wrote:

Perhaps you have some kind of corruption? I might try the /decompile
command line switch, or export all objects to text and import back in
(SaveAsText). Both these options are officially undocumented, but
groups.google.com will have plenty of examples.

-Tom.
 
V

vegathena

Thanks Tom. I will look into those.


On Tue, 4 Dec 2007 08:56:02 -0800 (PST), (e-mail address removed) wrote:

Perhaps you have some kind of corruption? I might try the /decompile
command line switch, or export all objects to text and import back in
(SaveAsText). Both these options are officially undocumented, but
groups.google.com will have plenty of examples.

-Tom.
 

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