Re: FORMS4.5 WHEN-WINDOW-CLOSED

From: Neville Sweet <sweet.neville.nj_at_bhp.com.au.no_junk_email>
Date: Mon, 13 Mar 2000 15:21:59 +1100
Message-ID: <8ahqdn$qat$1_at_gossamer.itmel.bhp.com.au>


Joost,

The problem is that the item you are deleting is not a base-table item in your block, so the form does not recognise there is anything to save. One way around this is to trap that a change has occurred to your item, and set a base-table item equal to itself.
eg.
In a when-validate-item trigger:
base-table item := base-table item;

Joost André wrote in message <8a8j6m$s1d$1_at_newsspool.casema.net>...
>Can anyone help me on this? When you have two windows in your application
>which are in the same module, and you close the dept-window after you've
>made a change, you're not being asked if you want to save and your changes
>are lost. When I use the system.record_status or system.block_status this
>doesn't work when you've only deleted an item. The status is then still
>'query'.
Received on Mon Mar 13 2000 - 05:21:59 CET

Original text of this message