Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Report Viewer
Message
From
04/10/2001 01:48:09
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00561257
Message ID:
00563982
Views:
40
Hello Smitha,
u can use this code for viewing reports using crsytal viewer.
	Wait "Building preview...wait..." Window nowait
	CRApplication 	        = Createobject("crystalruntime.application")
	CRReport 		= Createobject("crystalruntime.report")
	CRReport 		= CRApplication.openreport(cReportFile)
	
        * Olecontrol2 is the crystal viewer control which is on the form
        *----------------------------------------------------------------
	Thisform.OLECONTROL2.reportsource = CRReport
	Thisform.OLECONTROL2.viewreport
Sanjay.
(shams201@yahoo.com)
(sanjaypatel@india.com)

(solutions shown are better done!)


>I am not using the REPORT CONTROL but the report viewer control. There is no property called window state in the report viewer control.
Sanjay Dhiraj Patel

MCSE, MCDBA

Net2Biz (Thailand)
Previous
Reply
Map
View

Click here to load this message in the networking platform