borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Carry Forward the running total to next page)Next Topic (Invalid Identifier) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : New to Crystal
Poster Message
wen_dell
Level: Scholar

Registered: 17-01-2005
Posts: 44

icon New to Crystal

is there anyone can help solve my problem, my reports are already done but i dont know how to execute it in VB. can u give me a sample code that show this kind of topic

____________________________
GOD IS MY SHEPERD

21-06-2005 at 01:38 AM
View Profile Send Email to User Show All Posts | Quote Reply
menon
Level: Trainee

Registered: 21-06-2005
Posts: 1
icon Re: New to Crystal

Hope the below helps. Try out !


'Declaration area
*********************
Dim crystal As CRAXDRT.Application      'LOADS REPORT FROM FILE
Dim Report As CRAXDRT.Report

Public a As String
*********************

a = App.path & "your-report-name.rpt"  Give the Name of your Report here
Set crystal = New CRAXDRT.Application           'MANAGES REPORTS
Set Report = crystal.OpenReport(a)  'OPEN OUR REPORT
Report.DiscardSavedData
Report.Database.SetDataSource rsBldata
Report.EnableParameterPrompting = False
Report.EnableSelectDistinctRecords = True
Report.EnableGeneratingDataForHiddenObject = False

21-06-2005 at 06:22 AM
View Profile Send Email to User Show All Posts | Quote Reply
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60
icon Re: New to Crystal

Hai
I am attaching a sample here please check it out.It also includes a report and code.

____________________________
Attached:
cr9vbmysql.zip 11 KB (Downloads: 20)

21-06-2005 at 07:44 AM
View Profile Send Email to User Show All Posts | Quote Reply
wen_dell
Level: Scholar

Registered: 17-01-2005
Posts: 44
icon Re: New to Crystal

thanks ramya and menon to your time, im gonna try these at home

____________________________
GOD IS MY SHEPERD

22-06-2005 at 09:08 AM
View Profile Send Email to User Show All Posts | Quote Reply
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60
icon Re: New to Crystal

Hai
If u need more info feel free to post it here

23-06-2005 at 07:38 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : New to Crystal
Previous Topic (Carry Forward the running total to next page)Next Topic (Invalid Identifier) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder