DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   crystal report parameter in visual basic 6 (http://www.daniweb.com/forums/thread158723.html)

imagetvr Nov 21st, 2008 2:01 am
crystal report parameter in visual basic 6
 
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.

sierrainfo Nov 21st, 2008 3:03 am
Re: crystal report parameter in visual basic 6
 
http://www.a1vbcode.com/snippet-4135.asp

http://www.developerfusion.com/forum/thread/28348/

http://www.eggheadcafe.com/community...lues-to-c.aspx

I hope it will help u.


All times are GMT -4. The time now is 3:09 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC