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
  • 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.


    Right click in report area and choose Edit Object. Make sure the box is unchecked


  • Right click in report area and choose Edit Object. Make sure the box is unchecked


    I've done that but still no joy in mudville. I've right clicked in the old style section of the report and unchecked everything. On the first page, I've wound up with most of a new style header, the remaining area white space except for the page # footer. The second and third page contain "Begin Autocalibrate results for Probe......" language in the old style font and no footer. The 4th page has the "Begin Autocalibrate... " language in the new style font followed by a new style report.
  • 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/
  • 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.
  • I've done that but still no joy in mudville. I've right clicked in the old style section of the report and unchecked everything. On the first page, I've wound up with most of a new style header, the remaining area white space except for the page # footer. The second and third page contain "Begin Autocalibrate results for Probe......" language in the old style font and no footer. The 4th page has the "Begin Autocalibrate... " language in the new style font followed by a new style report.


    Did you try refreshing the report?
  • 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.