http://img.my.csdn.net/uploads/201309/21/1379754018_3027.JPG
If fill in the corresponding data in the data window, when I print, I just want to print the data part, the form itself and the corresponding labels don't print it out, because the documents after printing presses, already has the form and the corresponding label, the question now is only print data data part of the window, I can think of is controls hide you don't need to print, but there are a lot of control, the data window this method seems to work, don't know what do you have any other ways to achieve,
CodePudding user response:
There is no way, only one by one manually modify! If you don't want to modify it to do a dw, like this only shows data layout as well as the front, assign a value to print line!CodePudding user response:
This belongs to the set, a new DW to need data into the corresponding to the location of the printing paper,
CodePudding user response:
CodePudding user response:
Writing code in a print, hidden objects, you don't need to print if line, such as ln_1Dw_1. Modify (" ln_1. Visible=0 ")
This is ok
CodePudding user response:
Add a compute data window, named c_visible, set a value of 1Will all don't need to print the controls visible attributes set to c_visible
Then according to the method at the time of print dw_1 upstairs. Object. C_visible. Expression='0'
CodePudding user response:
Thank you, I later in this solution: create a new dw_print, share a data source, with the original dw_1 in dw_print retrieve one parameter, more control in dw_print controls all the visibility, then add in dw_print controls visible attributes of the corresponding parameters, and then put the dw_print hides, input data using dw_1, printed with dw_print, before printing, dw_1 share the data buffer pool,CodePudding user response:
All print traversing the data window object, hide all data column type of object,CodePudding user response:
All print traversing the data window object, hide all the data object of type,CodePudding user response:
Adjusted the dw layout, first set after position on the other things hidden, print and display window with two respectively,