Home > database > PB data between data filtering window... O method
PB data between data filtering window... O method
Time:09-18
If: there is a main window, one of the main window data window and a button, another child by button pop-up window, select data in the data in a child window window to return to the main window of the data window, (the main window and the child window table is different, but the same column)
Need to implement the function of the is: after back to the data, the main window data not saved, child window pops up will have again back to the data filter out
The warrior, please grant instruction!!!!! Thank you very much!
CodePudding user response:
Listening to you describe function, isn't that true, such as the main window is the editor of "participation" page, you click a button pop-up window, child window is to choose the "participant" page, you have chosen to "zhang SAN, li si", closing the window to return to the main window, and then click the second child window, hope in the child window to filter out "zhang SAN, li si", is this meaning?
The solution: 1. Add a hidden datawindow in the main window, the datawindow databoject dataobject is set is the same as the child window of DW,
2. The main window of the button is clicked, opened the child window will this hidden datawindow passed as a parameter,
3. The child window, the open event, refresh the DW, after passed through cycle parameters of DW filtering operation,
4. The child window, the close event, returns the processed DW parameters,