Forms45: Entering/executing query programmatically

From: Wolfgang Pest <pestw_at_kontron.de>
Date: 1997/04/11
Message-ID: <334EA490.7366_at_kontron.de>#1/1


[Quoted] [Quoted] I have to build masks whose behaviour is different from Forms' default behaviour:
when entering a mask, the user should be immediately entering a query in the current block's primary key field. Upon leaving this field, the query should be executed. If there exists a record for this primary key, it should be displayed and now can be modified (in normal mode). If there exists none, he should be able to enter values in those attribute fields.
Now, what triggers can I use to implement this behaviour? Especially, where should I call the Execute_Query bultin procedure? The When_Validate_Item trigger does not fire in Enter_Query mode and the Post_Text_Item trigger does not allow restricted procedures like Execute_Query?
I am new to Forms, so perhaps this is an RTFM question, but I really tried to find anything about it in the manual in vain.

Wolfgang Pest
c/o KONTRON ELEKTRONIK GmbH
D-85385 Eching
pestw_at_kontron.de Received on Fri Apr 11 1997 - 00:00:00 CEST

Original text of this message