Y yonge23 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-29 #1 请问: 怎么把QREPORT显示QUREY的查询结果 不想再生成新的数据表了,只想把当前QUREY的查询结果显示在报表上!
D dez_0609 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-29 #2 可以啊,在保证QUREY为open的情况下。以下是我程序中的预览代码 Application.CreateForm(TF_searchzexiao1,F_searchzexiao1); F_searchzexiao1.QuickRep1.Visible:=False; F_searchzexiao1.QuickRep1.Prepare; //FMaxPage :=F_searchzexiao1.QuickRep1.Printer.PageCount; //Nrecordcount:=0; //Nrecordcount:=adoquery2.RecordCount; //F_searchzexiao1.QuickRep1.PrinterSetup; F_searchzexiao1.QuickRep1.Preview; F_searchzexiao1.Close;
可以啊,在保证QUREY为open的情况下。以下是我程序中的预览代码 Application.CreateForm(TF_searchzexiao1,F_searchzexiao1); F_searchzexiao1.QuickRep1.Visible:=False; F_searchzexiao1.QuickRep1.Prepare; //FMaxPage :=F_searchzexiao1.QuickRep1.Printer.PageCount; //Nrecordcount:=0; //Nrecordcount:=adoquery2.RecordCount; //F_searchzexiao1.QuickRep1.PrinterSetup; F_searchzexiao1.QuickRep1.Preview; F_searchzexiao1.Close;
Y yonge23 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-30 #3 ; //FMaxPage :=F_searchzexiao1.QuickRep1.Printer.PageCount; //Nrecordcount:=0; //Nrecordcount:=adoquery2.RecordCount; //F_searchzexiao1.QuickRep1.PrinterSetup; 上面几句什么意思啊,老兄!!!
; //FMaxPage :=F_searchzexiao1.QuickRep1.Printer.PageCount; //Nrecordcount:=0; //Nrecordcount:=adoquery2.RecordCount; //F_searchzexiao1.QuickRep1.PrinterSetup; 上面几句什么意思啊,老兄!!!