Crystal报告SelectionFormula错误 [英] Crystal report SelectionFormula Error

查看:98
本文介绍了Crystal报告SelectionFormula错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我在从vs-2003(C#)运行我的水晶报告时遇到错误。

以下代码中出现错误:

showReportUI.rptViewer.SelectionFormula ="{v_preg16_bl.issu_date} ORDER BY Asc";

showReportUI.rptViewer.SelectionFormula = "{v_preg16_bl.issu_date} ORDER BY Asc";

v_preg16_bl 是在SQLserver 2000中创建的视图。

v_preg16_bl is a view created in SQLserver 2000.

我想通过升序对SelectionFormula进行排序,但上面的代码不起作用。我的意思是在  ORDER BY 语法中出现错误。

I want to sort my SelectionFormula by Ascending but the above code does not work.I mean an error ocured in the ORDER BY syntax.

看着你的嗨p解决问题。

问候

Robi

 

 

 

 

 

推荐答案

选择公式用于过滤结果,而不是对它们进行排序。
The selection formula is used to filter results, not sort them.


这篇关于Crystal报告SelectionFormula错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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