Reporting Service Report fields cannot be used in page headers of footers
2014-12-08 10:51
591 查看
http://blogs.technet.com/b/mat_stephen/archive/2005/04/27/404209.aspx
Reporting Services doesn't like you using data fields in its headers and footers - here are two ways to work around the problem
Add a parameter to the report without a prompt (so the user doesn’t see it) and with a default value based on the field. Use this parameter instead of the field in the page header.
Put a textbox in the body of the report that references the field. Reference the value of the textbox in the page header. Optionally hide the textbox. (Note: You’ll need to make sure the textbox appears on every page. A couple of ways to do this is
either RepeatOnNewPage in a table header or RepeatWith)
Reporting Services doesn't like you using data fields in its headers and footers - here are two ways to work around the problem
Add a parameter to the report without a prompt (so the user doesn’t see it) and with a default value based on the field. Use this parameter instead of the field in the page header.
Put a textbox in the body of the report that references the field. Reference the value of the textbox in the page header. Optionally hide the textbox. (Note: You’ll need to make sure the textbox appears on every page. A couple of ways to do this is
either RepeatOnNewPage in a table header or RepeatWith)
相关文章推荐
- SSRS Fields cannot be used in page headers or footers
- SSRS Fields cannot be used in page headers or footers
- SSRS Fields cannot be used in page headers or footers
- VB6:关于“Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types.”的编译错误
- As of ADT 14, resource fields cannot be used as switch
- UBUNTU 9.10 因断电升级未成功后重启出现“one or more of the mounts listes in /etc/fstab cannot yet be mounted?”?
- “System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 错误
- warning C4819: The file contains a character that cannot be represented in the current code page
- vs2005下出现“Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive”的解决方法
- IIS Error:404.2 The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server
- As of ADT 14, resource fields cannot be used as switch cases
- The method or function that was called cannot be used in the manner requested.
- SQL2005 Reporting Service cannot be connected
- In C++, which of the following syntax can be used for instantiating an object named arr of the vecto
- HTTP Error 404.2 - Not Found "The page you are requesting cannot be served because of the ISAPI and
- warning C4819: The file contains a character that cannot be represented in the current code page
- The issue of vertical lines throughing the Report footer or the whole page in Crystal report 11
- The file contains a character that cannot be represented in the current code page (936)
- Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive
- VSE: The file contains a character that cannot be represented in the current code page (936).