|
| Iniciado por guest, 30,sep. 2017 16:55 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 30,septiembre 2017 - 16:55 |
Assuming it it possible, what is the easiest way to accomplish this inWinDev20? Thanks, Garry |
| |
| |
| | | |
|
| | |
| |
| Publicado el 30,septiembre 2017 - 23:52 |
Hello Garry
It could be as simple as making the body cells invisible and replacing the column heading fields with blanks, but obviously that leaves gaps. The report structure is essentially a header, body and footer. You can use alternate blocks to change the header and footer and use an iteration block to change the body content.
Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 01,octubre 2017 - 00:00 |
The original report was made easily with the report generator and looks like this: Tour # Company Rest1 Rest2 Rest3 Rest4 xxxxx xxxxxxx 45 31 11 42 ... Totals 120 80 45 62
If they wanted the report to just show Rest3 I was hoping I could just move column 5 to column 3 and hide the rest but maybe I should look at manually programming the report? Garry |
| |
| |
| | | |
|
| | |
| |
| Publicado el 01,octubre 2017 - 11:14 |
Hi Gary,
properties like ..Width, .. Caption, ..Visible are also working in reports
So you can show/hide them in code (i.e.e opening of the report) according to you needs. You have to resize/hide the table-header-control (static) and the table-body-control (item) and maybe even a report-total-control.
Note that if you hide the 4th report-column. Then you also have to reposition the 5th, 6th and so on. These go to the left modifying the X-property with the same amount (column4..width). |
| |
| |
| | | |
|
| | |
| |
| Publicado el 01,octubre 2017 - 17:57 |
Gary,
Afaik the TableMoveColumn() function does not work for reports. Just tried that and the IDE gives an error right away, it will not let us use the report-table-control. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,octubre 2017 - 11:13 |
Hi Garry,
a general solution would be to first build a temporary file with the report columns as fields, You fill the fields according to the users selection. The report itself is based on this temp file and you just hide the unused columns starting from the right side.
regards, Heinz |
| |
| |
| | | |
|
| | | | |
| | |
|