Re: How to check if the user has changed value in the form?

From: Joe Brown <joebrownNO_SPAM_me_very_MUCH_at_leading.net>
Date: Mon, 28 Sep 1998 17:45:04 GMT
Message-ID: <360fc895.1195882698_at_news.leading.net>


WHEN-DATABASE-RECORD fires when the first change to a record occurs... or more accurately when the record is marked for update.

If you're concerned about a specific field's values, you may need to use a PRE-TEXT-ITEM and save the value before the user has an opportunity to change, then use a POST-TEXT-ITEM trigger verify the field has been changed or not.

FYI: I think :PARAMETER.VarName is cleaner coding than :GLOBAL.VarName for storing variable data specific to a form.

by2_at_gpu2.srv.ualberta.ca (B Yan) wrote:

> Hi there,
>
> I am building a form using form5.0. I need to know if user is changing a field's value, for example, I have an item named item1, after query, it has value item1_value1. Then user may change this value and update the record, How do I check if the user has changed this value before update? Any hint is appreciated! Thank you in advance!
>
> Brian Yan
> --
>
>
> Best Wishes!
>

--
joebrown
_at_leading.net
Received on Mon Sep 28 1998 - 19:45:04 CEST

Original text of this message