使用任何内置字段时出错 [英] Error using any built-in fields

查看:69
本文介绍了使用任何内置字段时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2010创建包含各种rdlc报告的ASP.NET页面。我使用Object数据源使用ODBC查询Oracle数据库。除内置字段外,一切似乎都能正常工作。例如,我无法打印
 "第1页,共4页"在报告的顶部。它编译得很好,但只是显示"#Error"。代替内置字段。我通过使用"常用功能"来解决日期和时间问题。现在()。这很好。但任何时候我使用= Globals!PageNumber,
或Globals!一般来说,我只是得到了"#Error"。印刷,不知道什么是错的。我期待找到很多这个问题的人,但除了办公室里的其他程序员,我还没有发现任何人有这个问题。

I am using Visual Studio 2010 to create ASP.NET pages with various rdlc reports. I am using an Object data source to query an Oracle database using ODBC. Everything seems to work fine with the exception of built-in fields. For example, I am unable to print  "page 1 of 4" at the top of the report. It compiles fine, but simply shows "#Error" in place of the built-in fields. I worked around it for the date and time by using the "common function" Now(). That works fine. But any time I use =Globals!PageNumber, or Globals! anthing at all, I just get "#Error" printed, with no clue as to what is wrong. I was expecting to find many people with this issue, but except for the other programmer in my office, I haven't found anyone with this issue.

要清楚,我能够按照我的预期获取所有要打印的数据。只有内置字段似乎不起作用。

To be clear, I am able to get all the data to print as I would expect. It is only the built-in fields that don't seem to work.

我错过了某处的设置吗?有什么想法吗?

Am I missing a setting somewhere? Any ideas?

 

推荐答案

嗨vusprog,

Hi vusprog,

我没有听到有人提到这个问题。你能给我发一个通用的RDLC吗?我可以在这里试试MS吗?
Bradsy @ removeme Microsoft.com 。我的猜测是,它可能很容易修复并帮助你。

I have not heard anyone mention this issue. Can you send me a generic RDLC I can try in house here at MS? Bradsy@removemeMicrosoft.com. My guess is that it is probably something easy to fix and help you out.

 


这篇关于使用任何内置字段时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆