简体   繁体   English

使用vb.net 2008和SQL Server数据库的Crystal Reports

[英]Crystal Reports using vb.net 2008 and SQL Server database

I am busy with Crystal Reports, using vb.net 2008 with my SQL Server database, I'm seeing a problem here which I don't know how to solve. 我忙于Crystal Reports,将vb.net 2008与我的SQL Server数据库一起使用,在这里看到了一个我不知道如何解决的问题。 I've read somewhere about SQL Expression fields, they say they just appear under Field Explorer just like Formula Fields etc. But I cannot see it "SQL Expression Fields". 我读过一些有关SQL Expression字段的文章,他们说它们像公式字段等一样出现在Field Explorer下。但是我看不到它是“ SQL Expression Fields”。 Is there anyway I can add it to my Field explorer? 无论如何,我可以将其添加到Field Explorer中吗?

SQL Expression fields have to be created, just like formulas, they aren't "just there". 就像公式一样,必须创建SQL Expression字段,它们不是“仅此而已”。 You right-click on your Field Explorer "SQL Expression Fields" and choose "New". 右键单击字段资源管理器的“ SQL表达式字段”,然后选择“新建”。 See this handy little link to give you more information and best practices. 请参阅此方便的小链接 ,以为您提供更多信息和最佳实践。 On the other hand, if you have more than one datasource in your report, SQL Expressions can not be used and you will not see the option in the Field Explorer. 另一方面,如果报表中有多个数据源,则无法使用SQL表达式,并且在字段资源管理器中将看不到该选项。

Hope that helps, 希望能有所帮助,

Chris 克里斯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM