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

时间:2021-12-14 16:12:14

I put a table into my report with labels in the first column and mappings in the second column, but when I click on the preview (in the IDE) the table does not show up.

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

The "Initial Visibility" is set to "Visible".

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

I'm using VS 2005 Team Explorer Edition (Which is open from Sql Server 2005 BI)

我正在使用VS 2005团队资源管理器版(从Sql Server 2005 BI开放)

Here is an sample XML (code), if that might help.

这是一个示例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 个解决方案

#1


1  

Thanks to Microsoft's forum here was my problem.

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

"Select Table and press 'F4' there you can see Data Tab in that you have a property called No Row there you can print a text when there is no data returned from the dataset. Example 'No Data Available'."

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

So basically since I have no data coming through at this point (client hasn't provided any yet), my table with the labels will not show up.

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

#1


1  

Thanks to Microsoft's forum here was my problem.

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

"Select Table and press 'F4' there you can see Data Tab in that you have a property called No Row there you can print a text when there is no data returned from the dataset. Example 'No Data Available'."

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

So basically since I have no data coming through at this point (client hasn't provided any yet), my table with the labels will not show up.

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