CodePudding user response:
Cannot add a query button,,CodePudding user response:
At the same time also should pass to refresh B, add A button to estimate the user can't accept, choose A, still have to point the button, some trouble ahCodePudding user response:
If delay special slow, it is suggested that the start dw_grid retrieve all down, and then setfilter (" empty ")And then in A and B itemchanged same function,
//pseudo code
If A<& gt;" "Bthen
Dw_grid. Setfilter ("?=A ")
Elseif B<& gt;" "Then
Dw_grid. Setfilter ("? B=")
end if
CodePudding user response:
This seems to be no good ah, only after taking A can retrieve the data...CodePudding user response:
Don't know whether you are a dw or one dw plus two query dw, you didn't tell layout,If DDDW is the same in dw, even if no data lines, insetrow then deleterow after the DDDW will retrieve the first,
CodePudding user response:
Layout is that the above is a freeform data, it is AB two DDDW, here is a grid data window, through the AB to retrieve the data in the gridCodePudding user response:
.CodePudding user response:
1 set an instance variable ib_bchanged=false
2 data refresh event grid. Retrieve, the timer (0), restore tag ib_bchanged=false
3 above is a freeform data itemchanged: if a value change to start the timer (1), the timer check ib_bchanged, if is false call data refresh event,
4 above is a freeform data itemchanged: if b value change, set ib_bchanged=true, call refresh event
CodePudding user response: