RSS Forums RSS

crystal report parameter in visual basic 6

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Reply
Posts: 5
Reputation: imagetvr is an unknown quantity at this point 
Solved Threads: 0
imagetvr imagetvr is offline Offline
Newbie Poster

crystal report parameter in visual basic 6

  #1  
Nov 21st, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Posts: 143
Reputation: sierrainfo is an unknown quantity at this point 
Solved Threads: 9
sierrainfo sierrainfo is offline Offline
Junior Poster

Re: crystal report parameter in visual basic 6

  #2  
Nov 21st, 2008
Last edited by sierrainfo : Nov 21st, 2008 at 2:12 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Views: 850 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:13 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC