Thank you, I realized that, however, we don't want to edit every one of the reports because there may be a time when we don't want the report automatically maximized on preview which is why the form is used when we do.
>
>I read it again and realized that but I don't want to add the code to the data environment of the report because there are hundreds of reports.
>>
>you can do it i 10'
>A trace:
>
>* BACKUP ALL
>
>TEXT TO codetext
> PROCEDURE Init
> ZOOM WINDOW "REPORT DESIGNER" MAX
> ENDPROC
>ENDTEXT
>
>* loop on project.file collection or with ADIR
> USE (reportnamevar) IN 100
> REPLACE IN 100 tag with m.codetext, tag2 WITH '' FOR objecttype=25
> USE IN 100
> COMPILE REPORT (reportnamevar)
>* endloop
>
>
>Fabio
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"