hexagon logo

legacy and new text report in one program

Running 2015.1 offline

Came in this morning and the major FAI program I'm working on seems to have the report template messed up. The old style legacy text only report and the new style text report are both being used. I can't get rid of the old style report. It appears to only be occurring with this program. I can select other style reports but the old style legacy is always included.

Attached Files
Parents
  • This statement will change your reporting template in mid-stream. If you remove this statement it will return to either legacy style or xact style.


    IS there a statement in your prg to reflect something like this:
    CS2 =REPORT/TEMPLATE, FILENAME= TEXTONLY_HEADER_EVERY_PAGE.RTP, Section=-1,REPORTMODE=INSERT
    PARAM/=
    ENDREPORT/



    WE HAVE A WINNER!!!

    Now what's really odd is I have a template program that holds all the stuff I usually do; menu, setup form, printing options etc. A few months ago, I got adventurous and created a custom header label. I had code to insert just that label in my template program. When I looked in my problem child program, the code was changed from "REPORT/LABEL, FILENAME C:\USERS\PUBLIC\DOCUMENTSWAI\PC-DMIS\2015.0\REPORTING\FILE\HEADER.LBL" to some thing similar to the CS2 =REPORT/TEMPLATE.... code that Brian posted. I know it's a 2015.0 label but I ASSumed that everything would work. And it did for several weeks. Guess I'll have to get off my butt and recreate the label in the new format.
Reply
  • This statement will change your reporting template in mid-stream. If you remove this statement it will return to either legacy style or xact style.


    IS there a statement in your prg to reflect something like this:
    CS2 =REPORT/TEMPLATE, FILENAME= TEXTONLY_HEADER_EVERY_PAGE.RTP, Section=-1,REPORTMODE=INSERT
    PARAM/=
    ENDREPORT/



    WE HAVE A WINNER!!!

    Now what's really odd is I have a template program that holds all the stuff I usually do; menu, setup form, printing options etc. A few months ago, I got adventurous and created a custom header label. I had code to insert just that label in my template program. When I looked in my problem child program, the code was changed from "REPORT/LABEL, FILENAME C:\USERS\PUBLIC\DOCUMENTSWAI\PC-DMIS\2015.0\REPORTING\FILE\HEADER.LBL" to some thing similar to the CS2 =REPORT/TEMPLATE.... code that Brian posted. I know it's a 2015.0 label but I ASSumed that everything would work. And it did for several weeks. Guess I'll have to get off my butt and recreate the label in the new format.
Children
No Data