# Re: 请教有关Crystal Report

Posted by Keven on December 08, 1998 at 15:09:33:

In Reply to: 请教有关Crystal Report posted by yoyo on December 08, 1998 at 10:48:42:

第一:在Crystal Report中File/Save Data with Report的打勾先去掉
第二:你要显示的栏位先定义好,再储存此报表
第三:于VB中设定如下
with CryReport1
.SQLQuery = 这里放你要呼叫之StoreProcedure字串
.LogonInfo(0) = "DSN = xxx;UID = sa;PWD =;"
.ReportFileName = App.Path & "\..XXX.rpt"
.Destination = 0
.Action = 1
end with
我想这样因该可以吧!自己试试看!!

Follow Ups:

- Re: 请教有关Crystal Report yoyo 13:06:31 12/09/98 (1)
  - Re: 请教有关Crystal Report Keven 08:50:05 12/10/98 (0)
- Re: 请教有关Crystal Report yoyo 12:56:22 12/09/98 (0)