I tried to add a textbox and reference the textbox on the table, but it was a no go.
Here is what I had in my textbox
<code>
=code.noRows(ReportItems!table8!textbox30)
</code>
and this is what I was using in the code
<code>
Function noRows(byVal result) as string
if result = "" then
noRows = "NO Results"
else
noRows = result
end if
end function
</code>
Can anyone assist me with how to do this?
Thanks
Try this:
Data regions (matrix, table, list, chart) have a so-called NoRows property. If set, this is the message to display in a textbox (that replaces the data region when no rows of data are available).
Note: the NoRows property is available in the VS properties window.
-- Robert
|||When I use that my header disappears. Is there a way around this?I need the "No Results" to appear on the detail line and the header to stay regardless.
Thanks
|||
No. If you use the NoRows message property, it will replace the entire table.
-- Robert
No comments:
Post a Comment