Automation in Crystal Report XI

Post Author: jchan
CA Forum: General
Hi all, I am really new to crystal report XI; hopefully someone can point me in the right direction; I currently have 8 report written in crystal report that i have run weekly; i was wonder is there anyway i can automate this process by when i type in a keyword or some kinda of macro; it automatically capture the computer's current time and date and passes that parameters to the report criteria and automatic generate all 8 reports at one time and also automatically email it or send to certain printer;

Post Author: mhasel
CA Forum: General
Check out DataLink Viewer or VisualCut from Millet Software, both products have worked well for me.
http://www.milletsoftware.com/

Similar Messages

  • Automated Solution for Exporting SQL used in Crystal Reports

    My company has created over 400 reports that are running on Crystal Reports XI. Due to proposed changes in our database, we occasionally need to review the SQL statements of all 400+ reports to determine if any of them would be impacted by the proposed changes. In order to review the SQL used in these 400+ reports, we have had to open each report manually. We would like to know how we can review the SQL used in the reports without having to manually look at each report. I suspect there is a way to either write a program or use a tool that will export the SQL that is used in all reports. In a similar vain, we would be interested in knowing if there is an automated way to identify table names and fields that are used in each SQL statement.

    I see two directions to go:
    1. Review functionalities of .rpt Inspector
    [http://www.softwareforces.com/Product/ri/pro/3/rptInspector.htm]
    - it allows rpt mass analyses
    2. Post your question to ".Net Development - Crystal Reports" forum to see if it is possible to access required information through custom application

  • Crystal Reports 2008 - automation and scheduling

    Hey there Crystal Reports experts... please answer this question:
    I've been evaluating the Crystal Reports 2008 package (client package) and have been able to generate some nice summary reports form our SQL database using summary pages which have multiple (up to 4) embedded sub-reports in them.  I think it's doing what I need it to, but my next hurdle is to automate the summary report for 100+ different customers of ours.  The criteria which changes for each customer is a table value in each subreport as well as the date range for the data on the report.  I also need to have the title in the report header of each customer, change to reflect the different customer name and date range.
    Is there a way to automate this with the standard Crystal Reports 2008 version?  I've found a few 3rd party applications online that take care of the Crystal Report automation and scheduling as well as conditional data selection at the same time... is that what I need to use if we don't have ther server version of Crystal, or can I automate it using just the standard 2008 client version??

    Hi,
    Yes, you need the CR 2008 client license to create the reports and then the server license to distribute the reports.
    CR Server 2008 is a single server reporting solution for distributing Crystal Reports only.  BOE is a full BI server that can be scaled beyond a single server solution.  In addition to just reporting it has other capabilities such as ad hoc query and analysis, dashboarding/scorecarding, etc.
    CR Server 2008 currently does not include the "Publishing" functionality yet.  Therefore, if you schedule the report to email, all users will see the exact same report.  BOE XI 3.1 does have "Publishing" which lets you burst the report so that through a single schedule, each user only sees their slice of the data for that report.  You can still use CR Server to accomplish something similar, but it would require you to setup an individual schedule per every customer where each schedule is configured to only return the appropriate data for that customer.  This would require a little more effort to setup and maintain.

  • Automating a report for non-Crystal Reports users

    Post Author: dmdouglas
    CA Forum: Formula
    I using version 8.5. Several people I generate a specific report for would like to be able to run it themselves rather than ask me to run it for them. As they are not Crystal Report users, is there a command that will ask the user to input information that will be used to generate a report for a specific month when they run the report, rather than having to go into the select criteria to put in the date they want? For example, if they wanted a report for March, they would just have to answer a prompt like "What month?" and the program would put their response in a variable to calculate the period desired for the report.

    Post Author: V361
    CA Forum: Formula
    Not sure for 8.5, but in later release's you add a parameter, the parameter does the prompting "Sort of", then you set the select statement to use the parameter. Parameters will have ? as part of the field name.   ie...
    = { ?Date_Parameter}

  • Crystal Report automation

    I have a Crystal Report file and want to convert it to a .PDF document.  Does anyone have any idea on how to do that using vbscript?

    VBScript support is with XI Release 2 version or earlier using the Report Designer Component (RDC) SDK with the "Developer" or "Advanced Developer" editions of the product.
    The most recent version, CR 2008, does not ship with the RDC, so there's no support for VBScript.
    If you do have the RDC SDK, the script would look something like:
    Dim rptPath, exportPath
    rptPath = "c:\Documents and Settings\tueda\My Documents\VBScript\Charting.rpt"
    exportPath = "c:\Documents and Settings\tueda\My Documents\VBScript\charting.pdf"
    Dim oApp
    Set oApp = CreateObject("CrystalRuntime.Application") 
    Dim oRpt
    Set oRpt = oApp.OpenReport(rptPath,1)
    oRpt.ExportOptions.DestinationType =  1
    oRpt.ExportOptions.DiskFileName = exportPath
    oRpt.ExportOptions.PDFExportAllPages = True
    oRpt.ExportOptions.FormatType = 31
    oRpt.Export(False)
    Sincerely,
    Ted ueda

  • Error on Visual Basic 6.0 and Crystal Reports 9.2 on XP SO

    We need support to resolve an error on a system made with Visual Basic 6.x and Crystal Reports 9.2.
    Error '-2147417848 (80010108)'
    Automation Error
    Not always give these errors.
    Often occurs after request two reports followed and SO is XP
    When SO is Windows 2000 professional this error not occurs.
    These are versions of the products used:
    Versión Visual Basic:  6.0.9782
    Versión Cristal Reports:  9.2.0.448

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • Crystal Reports, SAP B1 - connect OINV, OPCH (A/R Invoice, A/P Invoice)

    What I need to do is to connect the two SAP B1 v9.0 tables listed above (A/P Invoice OINV, and A/R Invoice OPCH) in a Crystal report WITHOUT SQL.  How do you connect these tables?  Purpose of report is for sales commissions.  Existing customer report combines SAP B1 data from these tables but is done manually in Excel.  Attempting to create report in Crystal for automation purposes.  Will also include INV1 and PCH1 for detailed line item marketing document information.  Thanks for any assistance.

    Since the picture doesn't show what is actually linked to what, here is a written description of the links I used between tables (with 2 alternates in case I'm wrong):
    OPRJ.PrjCode left join INV1.Project
    INV1.BaseEntry left join RDR1.DocEntry
    INV1.BaseLine left join RDR1.LineNumber
    INV1.DocEntry left join OINV.DocEntry
    INV1.ObjType left join OINV.ObjType
    INV1.ItemCode inner join OITM.ItemCode
    OINV.CardCode inner join OCRD.CardCode
    OINV.SlpCode left join OSLP.SlpCode
    OITM.ItmsGrpCod left join OITB.ItmsGrpCod
    RDR1.DocEntry left join ORDR.DocEntry
    RDR1.DocEntry left join DLN1.BaseEntry
    RDR1.LineNum left join DLN1.LineNum (s/b BaseLine?)
    RDR1.DocEntry left joing POR1.BaseEntry
    RDR1.LineNum left join POR1.LineNum (s/b BaseLine?)
    RDR1.ObjType left join ORDR.ObjType
    POR1.DocEntry left join OPOR.DocEntry
    POR1.ObjType left join OPOR.ObjType
    POR1.DocEntry left join PCH1.BaseEntry
    POR1.LineNum left join PCH1.BaseLine
    PCH1.DocEntry left join OPCH.DocEntry
    PCH1.ObjType left join OPCH.ObjType
    DLN1.DocEntry left join ODLN.DocEntry
    DLN1.ObjType left join ODLN.ObjType

  • Run-Time error '-2147417848 (80010108) in Crystal Report on SAP BW Query

    I have installed Crystal Report 2008 SP1 and the Business Objects Integration kit for 3.1 but when I try to create a report on top of an SAP BW query using the toolbar, after entering the logon parameters for SAP BW, I get a error message :
    Run-Time error '-2147417848 (80010108)
    Automation error
    The object invoked has disconnected from its clients.
    CR exits after this error message.
    I have tried uninstalling the Kit and CR, cleaning up the registry, and installing it again and still got this error message - It is the same for all my SAP BWs.
    Anyone ever had this?
    Thank you,
    R.

    Is this still an issue?

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • VS2013 and Crystal Report Layout printing

    <p>Hi,</p><p></p><p>I use VS2013 and Crystal reports.&nbsp; In my program i also use direct print from the form (not by crystal reports).</p><p></p><p>When I first print a documten from a form,
    and then I take a printpreview from a crystal report, the lay-out is not correct.</p><p></p><p>As example I put 2 screenshots:</p><p>first correct - second after printing from form</p><p></p><p>I
    hope somebody can help me.</p><p></p><p>Thx</p><p><img alt="right" src="https://social.msdn.microsoft.com/Forums/getfile/564644" /></p><p><img alt="wrong" src="https://social.msdn.microsoft.com/Forums/getfile/564645"
    /></p>

    Hi Detleff,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio
    Editor. Based on your Crystal Reports printing issue, I’m afraid that it is not the correct forum for this issue. Therefore,
    I suggest you can ask your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
    for better solution and support.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual basic with crystal report 8.5 error on reporting

    i am dvelping a program base on accounting
    Connection Using ADODB through record set...
    when view the report through compiler using run vb project method the data show is ok but when run application through MDi form the crystal report show blank data...
    my code in mention below
    plz help
    Dim Ac2 As String
    mDATE1 = Format(DTP.Value, "MM/dd/yy")
    mDate2 = Format(DTP1.Value, "MM/dd/yy")
    Ac2 = TxtCode.Text
    Set Rs = New ADODB.Recordset
    Rs.Open "delete * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
    Set Rs1 = New ADODB.Recordset
    Rs1.Open "select  (opdr),(opcr) FROM acoding where acode= '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs2 = New ADODB.Recordset
    Rs2.Open "SELECT Sum(dr)-sum(cr) as opening from ledger where date < # " & mDATE1 & "# and pcode = '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs3 = New ADODB.Recordset
    Rs3.Open "select* FROM ledger WHERE DATE BETWEEN #" & mDATE1 & "# AND # " & mDate2 & " # AND pcode between '" & TxtCode.Text & "' AND '" & Ac2 & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs = New ADODB.Recordset
    Rs.Open "select * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
        If Rs2.RecordCount <> 0 Then
            DR1 = IIf(IsNull(Rs2!opening), 0, Rs2!opening) + IIf(IsNull(Rs1!OpDR), 0, Rs1!OpDR) - IIf(IsNull(Rs1!OpCR), 0, Rs1!OpCR)
            Rs.AddNew
            Rs!Des = "OPENING BALANCE"
            Rs!pcode = TxtCode.Text
            Rs!DR = IIf(DR1 > 0, DR1, 0)
            Rs!cr = IIf(DR1 < 0, DR1 * -1, 0)
            Rs.Update
        Else
            Rs.AddNew
            Rs!Des = "OPENING BALANCE"
            Rs!pcode = Rs2!pcode
            Rs!DR = IIf(IsNull(Rs1!OpenDR), 0, Rs1!OpenDR)
            Rs!cr = IIf(IsNull(Rs1!OpenCR), 0, Rs1!OpenCR)
            Rs.Update
            End If
    If Rs3.RecordCount > 0 Then
        While Not Rs3.EOF
                Rs.AddNew
                Rs!pcode = Rs3!pcode
                Rs!vtype = Rs3!vtype
                Rs!VNO = Rs3!VNO
                Rs!DR = IIf(IsNull(Rs3!DR), 0, Rs3!DR)
                Rs!cr = IIf(IsNull(Rs3!cr), 0, Rs3!cr)
                Rs!Date = Rs3!Date
                Rs!Des = Rs3!Des
                Rs.Update
        Rs3.MoveNext
        Wend
        End If
    cr.ReportFileName = App.Path & "\reports\latif.rpt"
    cr.WindowState = crptMaximized
    cr.Action = 1
    end sub
    through Debug mod data all data is show but
    when run without debug mod  crystal report show data blank..
    proceed is that
    vb6 delete tem1 table from access
    opening sum from ledger table
    opening sum form A/C coding table
    first add opening in tem1 table
    then add all sepsfic data from ledger table to temp table
    after that data show in crystal report
    kindly Help

    Hello,
    Thank you for your post.
    Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I suggest that you can consult your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
      for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal report viewer from portlet

    Hi,
    I have a problem with opening Crystal report viewer from portlet. I am using Spring portletMVC but this doesnt matter in this case. After clicking some button a controller process form in method where is access to ActionRequest, ActionResponse. But how can I "redirect" with some parameters to plain JSP page where I can write something like this:
    CrystalReportViewer viewer = new CrystalReportViewer();
         viewer.setReportSource(rcd.getReportSource());
         viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
         viewer.dispose();
    Oh, perharps is understandable, sorry for my English and thanks for helping. Any code of link would be wonderful.

    I haven't worked with Crystal Reports in quite awhile, but in the past I've written code to launch Crystal Reports using OLE. If I recall correctly, there existed an ActiveX control that could be embedded into VB forms, and the like. I'm unsure, however, whether they continue to support this mechanism. Given that your requirements do not allow CLIENT_HOST or DDE, however, I am guessing that OLE automation would also be unacceptable.
    Have you looked at WEB.SHOW_DOCUMENT?
    Eric Adamson
    Lansing, Michigan

  • Unable to view crystal report in production server

    Hi all,
    I have designed a crystal report,using Sap Crystal reports. I am able to view the crystal report in development machine, but not able to see report in Production machine.
    I am getting following error :
    "Could not load file or assembly 'System.Web.Extentions, Version =1.0.61025.0, Culture = neutral, PublicKeyToken =31BF3856AD364E35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
    (Exception from HRESULT : 0x80131040)
    Regards,
    Narendra
    Naren

    Hi Naren,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer
    Documentation and Help System, and Visual Studio Editor. I am afraid that the issue is out of support of Visual Studio General Questions forum, so I suggest you can ask your issue directly
    on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
    for better solution and support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Export from Crystal Reports 2008 viewer fails if run on separate thread

    I have a windows desktop application written in Visual Basic using Visual Studio 2008.  I have installed and am trying Crystal Reports 2008 to run a report.  Everything seems to work well except that when I preview a report (using the viewer control) and click the export button found in the upper left corner of that control, I get the following message:
    Error 5: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.  Ensure that your Main function has STAThreadAttribute marked on it.  This exception is only raised if a debugger is attached to the process.
    I am a little confused on what to do exactly.  Is the problem because I am running in the Visual Studio 2008 IDE?  It says this exception is only raise if a debugger is attached to the process.  No, I tried running it outside the IDE.  The exception wasn't generated but the application hung when the button was clicked.
    It says the current thread must be set to single thread apartment (STA) mode.  If the report is run on its own thread, is the "current" thread the thread the report is running on or is the main application's UI thread?  I don't think I want to set my main application to single thread apartment mode because it is a multi-threaded application (although I really don't know for sure because I am new to multi-threaded programming). 
    My objective is to allow reports to run asynchronously so that the user can do other things while it is being generated.  Here is the code I use to do this:
        ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim backgroundProcess As System.ComponentModel.BackgroundWorker
            ' Start a new thread to run this report.
            backgroundProcess = New System.ComponentModel.BackgroundWorker
            Using (backgroundProcess)
                ' Wire the function we want to run to the 'do work' event.
                AddHandler backgroundProcess.DoWork, AddressOf PreviewReportAsynch_Start
                ' Kick off the report asynchronously and return control to the calling process
                backgroundProcess.RunWorkerAsync(sourceDatabase)
            End Using
        End Sub
        Private Sub PreviewReportAsynch_Start(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
            ' The source database needed to call preview report was passed as the only argument
            Call PreviewReport(CType(e.Argument, clsMainApplicationDatabase))
        End Sub
        ' Previews the report.  From the preview window, the user can print it.
        Public Function PreviewReport(ByVal sourceDatabase As clsMainApplicationDatabase) As FunctionEndedResult
            Dim errorBoxTitle As String
            Dim frmPreview As frmReportPreview
            ' Setup error handling
            errorBoxTitle = "Preview " & Name & " Report"
            PreviewReport = FunctionEndedResult.FAILURE
            On Error GoTo PreviewError
            ' Set up the crxReport object
            If InitializeReportProcess(sourceDatabase) <> FunctionEndedResult.SUCCESS Then
                GoTo PreviewExit
            End If
            ' Use the preview form to preview the report
            frmPreview = New frmReportPreview
            frmPreview.Report = crxReport
            frmPreview.ShowDialog()
            ' Save any settings that should persist from one run to the next
            Call SavePersistentSettings()
            ' If we got this far everything is OK.
            PreviewReport = FunctionEndedResult.SUCCESS
    PreviewExit:
            ' Do any cleanup work
            Call CleanupReportProcess(sourceDatabase)
            Exit Function
    PreviewError:
            ' Report error then exit gracefully
            ErrorBox(errorBoxTitle)
            Resume PreviewExit
        End Function
    The variable crxReport is of type ReportDocument and the windows form called 'frmPreview' has only 1 control, the crystal reports viewer. 
    The print button on the viewer works fine.  Just the export button is failing.  Any ideas?

    Hi Trevor.
    Thank you for the reply.  The report document is create on the main UI thread of my application.  The preview form is created and destroyed on the separate thread.  For reasons I won't get into, restructuring the code to move all the initialization stuff inside the preview form is not an option (OK, if you a really curious, I don't always preview a report, sometimes I print and/or export it directly which means the preview form isn't used).
    What I learned through some other research is that there are some things (like COM calls and evidently some OLE automation stuff) that cannot be run on a thread that uses the MTA threading model.   The export button probably uses some of this technology, thus the message stating that an STA threading model is required.  I restructured the code as follows to accomodate this requirement.  Here is a sample:
    ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim staThread As System.Threading.Thread
            ' Start the preview report function on a new thread
            staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep1)
            staThread.SetApartmentState(System.Threading.ApartmentState.MTA)
            staThread.Start(sourceDatabase)
        End Sub
        Private Sub PreviewReportAsynchStep1(ByVal sourceDatabase As Object)
            Dim staThread As System.Threading.Thread
            ' Initialize report preview.  This includes staging any data and configuring the
            ' crystal report document object for use by the crystal report viewer control.
            If InitializeReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase)) = FunctionEndedResult.SUCCESS Then
                ' Show the report to the user.  This must be done on an STA thread so we will
                ' start another of that type.  See description of PreviewReportAsynchStep2()
                staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep2)
                staThread.SetApartmentState(System.Threading.ApartmentState.STA)
                staThread.Start(mcrxReport)
                ' Wait for step 2 to finish.  This blocks the current thread, but this thread
                ' isn't the main UI thread and this thread has no UI anymore (the progress
                ' form was closed) so it won't matter that is it blocked.
                staThread.Join()
                ' Save any settings that should persist from one successful run to the next
                Call SavePersistentSettings()
            End If
            ' Release the crystal report
            Call CleanupReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase))
        End Sub
        ' The preview form must be launched on a thread that use the single-threaded apartment (STA) model.
        ' Threads use the multi-threaded apartment (MTA) model by default.  This is necessary to make the
        ' export and print buttons on the preview form work.  They do not work when running on a
        ' thread using MTA.
        Public Sub PreviewReportAsynchStep2(ByVal crxInitializedReport As Object)
            Dim frmPreview As frmReportPreview
            ' Use the preview form to preview the report.  The preview form contains the crystal reports viewer control.
            frmPreview = New frmReportPreview
            frmPreview.Report = DirectCast(crxInitializedReport, ReportDocument)
            frmPreview.ShowDialog()
        End Sub
    Thanks for your help!
    Andy

  • Error in Crystal report( built  on Universe) preview in CMC - Failed to load DB credentials or Failed to open Connection

    Hi,
          I created a Crystal Report (CR XI r2) using Universe and database is Db2.
         My report is working fine in Crystal report ,.But when i am uploading this report (Save AS ->enterprise) to repository ,and then trying to preview this report from CMC/Infoview,it throws error "Failed to load DB credentials  "or sometimes it throws" Failed to open Connection" .
    I have given DB user credentials correctly and used both option "prompt user for DB logo" as well as "use same database logon" .
    I am not sure why it is throwing this error.I checked both "Bo server machine as well as Client machine ,both  are having DB2 cleint installed and configured.
    Is this an issue with Service Packs ?
    As my machine configuration is -
         BO Client - BO XI R2 RTM + SP1+SP2
         BO Server (Linux) - BO XI R2 RTM
    If anybody faces the same issue ,please share the solution with me,as it is very urgent .
    Thanks
    Nitin

    Hello,
    Thank you for your post.
    Based on your description, your issue is out of support of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I suggest that you can consult your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
      for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Connecting a Computer to an HDTV

    Hey everyone, One of the most frequently asked home theater questions we see here on the forums is “How do I connect my computer to my HDTV?”  Well, depending upon the model(s) you own you may have a number of options. For starters, the most common o

  • Table key fields

    Hello to all the Experts, In a report programming I am accessing a table which I don't know. I have to print the information about the table as an output, how can I know the key fields of the table?, I am already using RTTS but want to identify the k

  • SonicStage/Atrac3 files--How do I import these files and convert them??

    This is my problem. I used to have SonicStage, I no longer do, but I found some of my old CDs that I made using that program, but the atrac3 files(I believe that's what they're called) aren't compatible with Mac, so now what do I do? I've never conve

  • Gallery will not open after Update

    This morning my Galaxy prompted me to update to the new system. It has updated two other times since I bought it late last year. I did not have any problems with it then. However, this time when I go to my gallery to view my pictures the application

  • Set up for RE1000 Range Extender on Mac OS X Lion 10.7

    The following is an informational post, good help is hard to find (I almost returned to the store.) I purchased the Linksys RE1000 Wireless-N Range Extender on 11/12/2011. When running the setup CD that came in the box on my iMac with Mac OS X Lion 1