Consultor Eletrônico



Kbase P12612: How to add trigger code to a field in a browser that is based on a freeform query
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

How to add trigger code to a field in a browser that is based on a freeform query

FIX:

Either add the trigger code for the leave of the field in the browse in the main block or put the trigger code into an include file and reference the include in the main block.

For example, if we create a browse for customer.custnum, customer.name and customer.fax from the sports2000 db we can then add this code in the main block:

...
RUN enable_UI.
ON 'leave' of customer.name do:
message "Left name field'.
end.
...

or put the trigger code in an include and reference the include in the main block.