Re: Forms4: Accepting default field values, how to commit?

From: N Prabhakar <prabhs_at_po.pacific.net.sg>
Date: 1997/01/28
Message-ID: <5ckurr$3ib_at_newton.pacific.net.sg>#1/1


cfischer_at_ancillary.utmrad1.utmb.edu (Cathy Fischer) wrote:
>I have default values for all of the fields in the record. If the user decides
>to accept all of these default values and does not touch the record, then they
>press commit and it says "No changes to commit". If they type over a character
>on the record then it sees it as changed and it will commit it. How do I get
>it to go ahead and commit without them having to type anything?
>
>
>Thanks in advance.
>

Hello there,

You should dirty a field to achieve that effect. Dirtying a field means assiging the same value to the field.

:blk.fld1 := :blk.fld1

This will cause the field value to be disturbed and the forms will treat it asthough user has changed it. This will cause forms triggers to fire

Regards

N.Prabhakar Received on Tue Jan 28 1997 - 00:00:00 CET

Original text of this message