I am trying to add a function to a subreport but continually get the error 'subreport could not be shown'.I have pared the function back to be a getworld function to try to get it to go, but no luck.The report works fine with the function included but not used or with any other value in the field.The function code is:<Code> Public Function HelloWorld() as String Return "Hello world" End Function</Code>The usage is: <TableCell> <ReportItems> <Textbox Name="textbox14"> <rd:DefaultName>textbox14</rd:DefaultName> <Style> <FontSize>8pt</FontSize> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <CanGrow>true</CanGrow><!-- <Value>99</Value>--> <Value>=Code.HelloWorld()</Value> </Textbox> </ReportItems> </TableCell>How can I resolve this or at least get more info on the error?
↧