Ue_query w_2. Triggerevent (" ")?
CodePudding user response:
If isvalid (w_2) then w_2. Triggerevent (" ue_query ")Or
If isvalid (w_2) then w_2. Event ue_query (parameters)
CodePudding user response:
Can be dealt with according to the following:W_query_condition (respone type, window query condition, ok will shut down, triggering w_main query)
Display window w_main (results)
S_parm (structure, the two fields, ret_code 1 0 to cancel, for sure, ret_condition string representing the query conditions)
Order is as follows:
W_main "query" button,
Clicked event:
Open (w_query_condition)
If isvalid (message. Powerbobjectparm) then
S_parm s=message. Powerobjectparm
If s.r et_code=1 then
W_main. Dw_1. Modify...//use the returned s.r et_condition
W_main. Retrieve ()
End the if
End the if
W_query_condition
Determine the button
S_parm s
S.r et_code=1
S.r et_condition=combination query condition
Cancel button
S_parm s
S.r et_code=0
CodePudding user response:
Forget one line of code closewithreturn (parent, s)CodePudding user response:
Close (the parent)