943,867 Members | Top Members by Rank

Ad:
Nov 21st, 2008
0

crystal report parameter in visual basic 6

Expand Post »
I Wish to pass parameter to Crystal Report. I have Access data base one table named student. I with to select range of data's from that table field named "rno"

i am using visual basic 6

I used following code to view crystal report
================================================
Set rs = New ADODB.Recordset
modConnection.opendb
rs.Open "select * from STUDENT_M order by rno", cn, adOpenStatic, adLockPessimistic
Report.Database.SetDataSource rs
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport

Screen.MousePointer = vbDefault


==========================================
I am new to crystal report. please guide me how to use parameter in crystal report.


a.Senthil kumar.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
imagetvr is offline Offline
5 posts
since Aug 2008
Nov 21st, 2008
0

Re: crystal report parameter in visual basic 6

Last edited by sierrainfo; Nov 21st, 2008 at 3:12 am.
Reputation Points: 10
Solved Threads: 9
Junior Poster
sierrainfo is offline Offline
144 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: print loop help
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Data collection from Excel file through VB-6 using record set





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC