11/13/2022 0 Comments Crystal report viewer not showing![]() ![]() Late goals from Memphis Depay and Philippe Coutinho secured a first away victory of the season in LaLiga for Barcelona as they made it two wins from two under Xavi Hernandez in the league by beating Villarreal 3-1 on Saturday. Late Memphis Depay, Philippe Coutinho goals secure back-to-back wins for Barcelona have reached a degraded version of because you're using an unsupported version of Internet Explorer.įor a complete experience, please upgrade or use a supported browser 'To populate the common Formula fields for the given report object ![]() MSetFormulafields(ForrArr( i), FormulaFlds.Item(ForrArr(i )), FormulaEnumData.fOpentype) taSource(R DSCollecti on.Item(RD SArr(i))) If UCase(CrSubReportObject.Su breportNam e) = UCase(RDSArr(i)) Then 'set the database and tables objects to work with the subreport MSubReport1 = mCryRept.OpenSubreport(CrS ubReportOb ject.Subre portName) 'you will need to typecast the reportobject to a subreportĬrSubReportObject = CType(CrReportObject, CRAXDRT.SubreportObject) If TypeOf (CrReportObject) Is CRAXDRT.SubreportObject Then 'loop through all the report objects to find all the subreportsįor Each CrReportObject In CrReportObjects o(paramArr, 1)ĭim ParamFields As CRAXDRT.ParameterFieldDefi nitionsĬall FB_SetParameterField(mCryR ept.Parame terFields, paramArr(i), paramCollection.Item(param Arr(i)))ĬrReportObjects = CrSection.ReportObjects 'paramCollection is hashtable contains the Parametername and the parametervalueĭim paramArr(paramCollection.C ount) As Object If UCase(rptFilename.ToString ) = UCase(RDSArr(i).ToString) Then 'set the database and tables objects to work with the container/main report MCryRept = mCryAppn.OpenReport(mRepor tPath rptFilename) 'RDSCollection is a hash table contains DataTable and the destination report object nameĭim RDSArr(RDSCollection.Count ) As Object MReportPath = Application.StartupPath "\Reports\" Public Sub MyReport(ByVal rptFilename As String, ByVal paramCollection As Hashtable, Optional ByVal ModuleName As ModuleType = ModuleType.FB_Account, Optional ByVal FormulaFlds As Hashtable = Nothing, Optional ByVal ReportName As String = "", Optional ByVal RDSCollection As Hashtable = Nothing, Optional ByVal DocName As String = "", Optional ByVal DocNumber As String = "", Optional ByVal CustType As String = "", Optional ByVal Customer As String = "", Optional ByVal PTC As String = "")ĭim CrReportObjects As CRAXDRT.ReportObjects The below given equivalent code runs fine in VB6 but not in VB 2005 We are in a tight schedule to complete the project we are very much bothered about this problem, kindly help us to solve this problem. no erros but when we set the report source of the Crviewer object and call viewreport method the viewer doesn't show anything it just blank. ![]() we tried using Crystal Report ActiveX viewer 10 using CRAXDRT dlls. ![]() we tried pull method to pouplate the data but it gives lot of problem if we change the Datasource duing runtime, so we use the push method but not a good result. Hi, We are developing an Database application using VB 2005, Crystal Reports 10, MS Sql 2000, we have lot of trouble using when we call the Crystal report in VB 2005. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |