关于report报表打印在线等
我现在有一个adoquery控件在主窗口中,我现在想要把这个adoquery查询出的结果显示在一个报表中如何来做.
其中sql语句如下:
select a.c_article_no as 货号,b.c_dealer as 供应商,a.c_date as 日期,round(sum(c_total),2) as "总价 ""元""" from t_pos_detail a,t_dealer_detail b where Fdate >=:Fdate and LDate <=:LDate and RTRIM(LTRIM(a.c_article_no))=RTRIM(LTRIM(b.c_article_no)) group by a.c_article_no,b.c_dealer,c_date
问题点数:50、回复次数:5Top
1 楼YOHOYOHO(月光下的军鸽)回复于 2004-11-02 16:20:33 得分 0
用qrdbtext 不可以么?Top
2 楼toofy45(程序员)回复于 2004-11-02 16:24:19 得分 0
是啊,用qrdbtext连接adoquery啊,与连接adotable一样啊Top
3 楼YOHOYOHO(月光下的军鸽)回复于 2004-11-02 16:25:56 得分 50
把QRDBText 中的dateset 设值成你的adoquer 不就ok了?Top
4 楼YOHOYOHO(月光下的军鸽)回复于 2004-11-02 16:26:59 得分 0
晕 上面的,嘎嘎Top
5 楼qiaokc(technic)回复于 2004-12-28 20:53:54 得分 0
IP:61.145.118.137
用户名:csdn
密码:csdn
端口:21
Top




