I’m making a new Stock Status Report, that is just adding the Part.ShortChar01 field. But it doesn’t show in the XML
Here’s what I’ve done
- Opened RDD StkStatus and saved it as StkStat1
- Created a new Stock Status Report style, and set the Data Def to StkStat1
- Launched the Stock Status report, selected the new style, and selected print preview.
- Open the StockStatus.rpt in CR, and save as StkStat1.rpt
- Do the usual Database\Set Data Source Location, browse to newly created XML, stuff…
- Add The field Part.ShortChar01 to the report
Everything goes as expected - the Par.ShortChar01 shows in CR"s Field Explorer pane.
Except when I preview the report, the ShortChar01 field is blank for every part record.
I opened the XML file with text editor, and found a Part record that I know has has a value in ShortChar01, but the tag for ShortChar01 doesn’t even appear
> <Part>
> <RptLanguageID>ENU</RptLanguageID>
> <ClassID>CABL</ClassID>
> <Company>MC</Company>
> <CostMethod>A</CostMethod>
> <IUM>FT</IUM>
> <Method>false</Method>
> <MtlBurRate>0</MtlBurRate>
> <NonStock>false</NonStock>
> <PartDescription>Cable- HMWPE #8 AWG MATCOR brand</PartDescription>
> <PartNum>XCHM#8</PartNum>
> <TypeCode>P</TypeCode>
> </Part>
A search for “ShortChar01” in the XML file only shows it to appear in <XS:sequence>
and the <RptLabels>
sections.
Calvin