Consultor Eletrônico



Kbase P19478: how to apply focus back to a field from a DB trigger?.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/22/2003
Status: Unverified

GOAL:

How to apply focus to a widget from a database trigger.

FIX:

Through a shared variable containing field handle:

1)Define new global shared var type handle in the definitions section of the window:

define new global shared vpoint as handle.

2)In the entry trigger of the window add:

Assign vpoint = <table>.<field>:HANDLE in frame <frame>.

3)In the database trigger:

Define shared variable vpoint as handle.
...
apply "entry" to vpoint.