Add a Trace Field Value to the Raw Data Report Header
Step-by-step instructions for adding a Trace Field column to a Raw Data Report template
Print Friendly View
written: 11/26/2023
last modified: 11/11/2024

The default Raw Data reports that come with QC-CALC do not show any trace field values in the heading area of the report. The reason for this is because the trace field values should, in theory, be different for each row of the table making it difficult to show any single value in the header. This White Paper will give step by step instructions for designing your own custom template and adding the Text Trace field 1 value from the first record displayed to the header area of one of the standard Raw Data templates.

Check Trace Field Positions in QC-CALC

Trace fields are referred to by variables in the Report Designer such as trace_text_value_01. To make sure you use the correct variables for the trace data you need, you can look up these trace field position numbers in QC-CALC Real-Time:

  1. In QC-CALC Real-Time, to open the part file for which you are creating the report template, go to File > Open and select the file you need.
  2. Go to File > Properties... > Edit Nominals & Tolerances.
  3. In the window that opens, look in the Trace Fields sections in the list on the left. You may have to scroll to the bottom of that list to find them.

image.png

  1. Note the number in parentheses next to the trace fields, you will need to know these for the Report Designer.

The Report Designer

The directions shown here will add Text Trace field 1 (the value assigned to the first record in the table) to the header area of the report. This is a lengthy process, but relatively simple to accomplish.

  1. From QC-CALC Real-Time choose the Report > Design Template menu.

  1. Choose the DataStat.raw template from the list of files that appears and click Open.
  1. The Report Designer now appears on the screen.

  1. In the Object List in the upper left corner (View > Windows > Object List if it is not visible) double click on the “Data Box 2” object.

  1. The Paragraph Properties window is now displayed. Highlight the line you would like to have below the Text Trace field line we are going to add and click the Insert a Paragraph button ().
  1. In the Edit Text window that appears, choose “Text_Trace_01_Label” from the Variables and Functions tab area (it is a long way down in the list).

  1. Now click the Insert button. The variable you chose will be automatically moved to the bottom window.
  1. Next, click on the Tab tab and click the Insert Tabulator button. This will add a “÷” (tab) to the line.
  1. Choose Left Aligned for the type of tab and set the Position to “1.20”. To verify this value is correct and will line up with everything else you can look at the Tab setting for one of the lines around where you inserted the new line.

  1. To insert the value of text trace field 1 into the line, go back to the Variables and Functions tab, find the Text_Trace_01_Value item in the list, and click the Insert button.
  1. Now click OK on the Edit Text and Paragraph Properties windows.
  1. When you look at the “Data Box 2” area of the Layout Preview screen you should now see the new in the box. Make sure that all lines are still visible. You may need to stretch the window to get enough room for all lines to show.

Note: If you cannot see the “Data Box 2” because the red table is getting in the way, go to the Layers tab (in the same area as the Object List) and uncheck the “TableLayer.”

  1. Click File > Save, then File > Exit to exit the Report Designer.
  1. As you exit from the Report Designer you will see a question asking if you have changed the number of dimensions in your report. Choose No.

  1. Now run your Raw Data report using the template you just changed.