Error 20525 Crystal
with the code coz am getting the error as unable to load the report error no:20525 and it shows the property read only can u unable to load report 20525 vb6 clear it plzzzz CrystalReport1.ReportFileName = App.Path + "\REPORTS\Nature_Of_Complaint.rpt" CrystalReport1.ParameterFields(0) = "natureofcomplaint;" & unable to load report crystal reports cmbReport.Text & ";true" CrystalReport1.ParameterFields(1) = "fromdate;" & dtpFrom.Value & ";true" CrystalReport1.ParameterFields(2) = "todate;" & dtpTo.Value & ";true" CrystalReport1.Action = 1 anto_nee 2 76 posts since Aug 2007 Community Member 3Contributors 8Replies 9Views 9 YearsDiscussion Span 9 Years Ago Last Post by anto_nee 0 QVeen72 104 9 Years Ago Hi, What is the back end DB...? If SQLServer/Oracle, then u have to pass connection string... REgards Veena 0 ryan_vietnow 13 9 Years Ago try crystalreport1.sqlquery instead of CrystalReport1.ParameterFields, it can query the report in one line just like an ordinary sql statement in vb. hope this helps....... 0 Discussion Starter anto_nee 2 9 Years Ago no guys i think this is cause by the version when i connect cr7 its working but with cr9 i cant connect but i have to check the connection string am using sql server can u write a connection string for me 0 QVeen72 104 9 Years Ago Hi, Working with CR9 is quite different, It is and RDC compared to lower versions which are "OCX". u need to use CR Viewer, Place the CR Viewer on the Form and use this code: Dim m_Report As CRAXDDRT.Report Dim m_Application As New CRAXDDRT.Application Set m_Report = Nothing Set m_Report = m_Application.OpenReport(App.Path & "\MyRep.rpt", 1) With CRViewer1 .EnableExportButton = True .EnablePrintButton = True .EnableCloseButton = True .ReportSource = m_Report .Height = Me.ScaleHeight - 1000 .Width = Me.ScaleWidth .Left=200 .Top =200 .ViewReport End With Regards Veena 0 Discussion Starter anto_nee 2 9 Years Ago thank you very much veena its workng fine and i have one prob with passing the parameters hw can i? codes........ and another one thing why we cant open the report in a seperate window. do
by 0 users This post has 2 Replies | 1 Follower Swidan Singapore Since 12/22/2004 Posts 18 Reputation 360 Reply Abdullah Swidan (Swidan) Posted: 10/25/2005 11:38 PM rated by 0 users Hi Guys,i have a problem hope to know the reason and the solutionam using VB5 with Crystal Report 4.6 then i upgrade the crystal report to Version 9 in another machine because version 4.6 not working with access https://www.daniweb.com/programming/software-development/threads/87606/runtime-error-20525-unable-to-load-the-report database 2002 so i install VB5 WITHOUT CRYSTAL REPORT 4.6 AND THEN I INSTALL THE CRYSTAL REPORT 9 but when i run the application and i call the report from VB code its give this message Run-time error '20525':Unable to load report.The code is Code:Dim ReportA as CrystalReportReportA.ReportFileName= App.Path + " http://vbcity.com/forums/t/110403.aspx \Employees.rpt"ReportA.Destination=crptToWindowReportA.WindowControls= TrueReportA.Action= 1Thanks & RegardsSwidan | Post Points: 20 Madhivanan Chennai, India Since 10/31/2003 Posts 1,376 Reputation 12,280 Reply Madhi vanan (Madhivanan) replied on 11/5/2005 2:40 AM rated by 0 users Open the report and do verify Database and save itSe if it works MadhivananFailing to plan is Planning to fail | Post Points: 5 Swidan Singapore Since 12/22/2004 Posts 18 Reputation 360 Reply Abdullah Swidan (Swidan) replied on 11/7/2005 10:19 PM rated by 0 users hi Madhivanan,Thanks for your reply, i did tried before but its same, but now i found the soulution for this problem, the problem is when i make search for this file crpe32 i found 2 same name but differnt version so i deleted one of them and now working fine.Thanks again m8.RegardsSwidan | Post Points: 5 < Previous Topic | Next Topic > Page 1 of 1 (3 items) | RSS Copyright 1998-2016 vbCity.com LLC
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security http://visualbasic.ittoolbox.com/groups/technical-functional/vb-crystalreports-l/how-solve-runtime-error-20525-unable-to-load-report-4158192 Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries Inside-ERP MacProTX VoIP_News Inside-CRM maxwellarnold I_am_the_dragon PCMag Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Locutus Ramnath.Awate Craig Borysowich Dennis Stevenson DukeGanote Richard mircea_luca Nikki Klein AbhaiTripathi knowscognosdoi iudithm Clinton Jones blrvenkat Iqbalyk unable to COMPANIES Hewlett Packard Hitachi America, LTD Compuware Fiberlink Communications View All Topics View All Members View All Companies Toolbox for IT Topics Visual Basic Groups Ask a New Question Visual Basic for Crystal Reports For discussion on Visual Basic for Crystal Reports , please visit the Visual Basic – General Discussions group. More Visual Basic Groups Your account is ready. You're now being unable to load signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. how solve run-time error '20525' unable to load report kewal sharma asked Apr 23, 2011 | Replies (2) Hi all I convert crystal 7 to 10 version but I'm facing run time error '20525' unable to load file' it is rember that in old version(7) my report working fine. Please help me. here is my script With Cr2 .ReportFileName = App.Path & "\colr.rpt" .LogOnServer "PDSODBC.DLL", "sername", "kksdb", "scott", "tiger" .Action = 1 End With End Sub Join this group Popular White Paper On This Topic ERP Supply Chain Comparison Guide 2Replies Best Answer 0 Mark this reply as the best