Re: [DEVELOPER/2000] TWO TEXT ITEM PROBLEM
Date: Tue, 19 Oct 1999 00:29:42 +0100
Message-ID: <380BAD66.79984E7E_at_ieee.org>
You can use When-mouse-click or Pre-text-item triggers among others depending exact on your validation units.
Even the following suggestion is too simple and not checked, it may give you some directions.
If using Pre-text-item (when cursor moves focus to item)
DECLARE
it_id Item;
BEGIN
it_id := Find_Item('your_block_name.your_item_name');
if your_block_name.your_item_name is null then
go_item(it_id)
end if;
END;
Hope this helps. Please contact me if you need additional help.
peter yeh wrote:
> HI..
> I have two text-item in my form..(t1 and t2)
> when user uses mouse to click on t2,I wnat to check t1'value
> if t1=NULL,then the cursor goes back to t1...
> which trigger can I use in writting above statement...??
> besides, can I use 'go_item'?????
-- Breno de Avellar Gomes Database Applications & Internet Developer Arquivo-Sistemas de Bases de Dados P. O. Box 5006 4017-001 Porto Portugal brenogomes_at_ieee.org Cellular: +351 931 7383469 ICQ # 35567342 Toll free fax and voice recorder from USA 1-888-EXCITE2 extension 291-303-8152 Outside USA (international fares apply) 1-917-463-3173Received on Tue Oct 19 1999 - 01:29:42 CEST