Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2004, 12:06 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default About Crystal Report's Viewer.CloseView(Index) Met

Hello,

My Self Sanjeev. I developed 1 appl'n using Visual Basic 6.0 And Crystal Report 8.5. I used Crystal Report Viewer Control to View the report. By using the criewer.ViewReport() method i view the reports. Now i want to Close the View only. So I used CrViewer.CloseView(Index) Method. But in this Method Index is as integer type parameter. I give it as 1,-1,0 and also the ActiveIndex as an Index. But it gives error "Subscript Out Of Range". If i give it null then it show the error for "DataType Mismatch". It should not accept the string type variable or string.

So Please Help me to Solve this problem. What Should me the parameter for CrViewer.CloseViw(?????) method.

Sanjeev.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports ActiveX Viewer omarmalik Crystal Reports 0 September 14th, 2006 05:39 AM
arabic font in crystal viewer areejan2000 Crystal Reports 1 November 7th, 2005 03:01 AM
arabic font in crystal viewer areejan2000 Crystal Reports 0 November 6th, 2005 10:20 AM
Crystal Viewer Problem (I think) LaFeverMF Crystal Reports 0 June 23rd, 2004 08:52 AM
Crystal Viewer Customisation - 9 RAS donaldt Crystal Reports 0 October 28th, 2003 06:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.