I searched in the forum but I could not found the answer may be I could not co-relate with my problem. Basically I want to execute the code after a calling procedure execution is over. A calling procedure create and activate window ( not a dialog ) as WINDOW behavior it does not wait as dialog. I know we have VALID clause to execute the code after the WINDOW close (end) as per my need I can not use VALID clause. I am calling a procedure in the button action's block please see below. so do we have any solution apart from VALID clause ?
Thanks in advance.
- Code: Select all Expand view
- aoBTN[2]:bAction := <||
IF oRGSQry:vt_id == C_CHQ_RETURN_VT_ID
trv_dbrcpt( oRGSQry:vou_id ) // New Window Activates
ENDIF
--- below code should be execute after closing previous window
oRGSQry := oApp:gDBServer:Query( C_VT_REG( C_VR_VT_ID, C_VR_FROM_DATE, C_VR_TO_DATE ) )
oBrwRGS:SetDolphin(oRGSQry)
oBrwRGS:Refresh()
--
>
Thanks
Shridhar