在Reporting Services中,表详细信息未显示在预览中

时间:2008-12-10 17:32:42

标签: reporting-services

我在第一列中的标签和第二列中的映射中放入了一个表格,但是当我点击预览(在IDE中)时,表格没有显示出来。

“初始可见性”设置为“可见”。

我正在使用VS 2005 Team Explorer Edition(从Sql Server 2005 BI开放)

这是一个示例XML(代码),如果这可能有帮助。

         <TableRow>
          <TableCells>
            <TableCell>
              <ReportItems>
                <Textbox Name="labelRID">
                  <Style>
                    <FontFamily>Times New Roman</FontFamily>
                    <FontSize>12pt</FontSize>
                    <TextAlign>Right</TextAlign>
                    <PaddingLeft>2pt</PaddingLeft>
                    <PaddingRight>2pt</PaddingRight>
                    <PaddingTop>2pt</PaddingTop>
                    <PaddingBottom>2pt</PaddingBottom>
                  </Style>
                  <ZIndex>7</ZIndex>
                  <CanGrow>true</CanGrow>
                  <Value>RID:</Value>
                </Textbox>
              </ReportItems>
            </TableCell>
            <TableCell>
              <ReportItems>
                <Textbox Name="textboxRID">
                  <Style>
                    <FontFamily>Times New Roman</FontFamily>
                    <FontSize>12pt</FontSize>
                    <TextAlign>Left</TextAlign>
                    <PaddingLeft>2pt</PaddingLeft>
                    <PaddingRight>2pt</PaddingRight>
                    <PaddingTop>2pt</PaddingTop>
                    <PaddingBottom>2pt</PaddingBottom>
                  </Style>
                  <ZIndex>6</ZIndex>
                  <CanGrow>true</CanGrow>
                  <Value>=Fields!rid.Value</Value>
                </Textbox>
              </ReportItems>
            </TableCell>
          </TableCells>
          <Height>0.25in</Height>
        </TableRow>

1 个答案:

答案 0 :(得分:1)

感谢微软的论坛,这是我的问题。

“选择表格并按'F4',您可以看到数据选项卡中有一个名为No Row的属性,当没有数据集返回的数据时,您可以打印文本。示例'无可用数据'。”

所以基本上因为此时我没有数据通过(客户端还没有提供任何数据),带有标签的表格将不会显示。