[AccessD] Form Before Update

Mcgillivray, Don [ITS] Donald.A.McGillivray at sprint.com
Wed Aug 31 16:39:45 CDT 2005


Francisco,

Is it possible that you're using the *control's* Before_Update, instead
of the *Form's*?  At the control level, Before_Update will fire "before"
the update - that is, before the control's value is updated to whatever
you have typed.  Thus, the control will still contain its original
value.  With the form's Before_Update, you will be able to retrieve the
values that you have entered into any controls on the form, but it
doesn't fire until you save or otherwise attempt to move off the record.
If you're trying to evaluate what's been entered in a control either as
it's being entered or after, try the On_Change event for the control.

HTH

Don





More information about the AccessD mailing list