Embedding Crystal report in Form builder

Hi,
I want to call Crystal report 8.5 rpt files from my form builder application(6i)
using activex component.
But i don't know how to set properties programatically.
Could any one can tell me were i could found this document.
pls help me to sove this problem.
Regards
Seema Shah

Hi !!
I had this problem two weeks ago and i couldn't resolve it .
So I will give U the solution :
U must use Visual Basic.
Indeed u need VB to call an ocx object correctelly.
In forms u must create a document .ini that pass in parameter the dsn connection of ur forms, the sql clause, and the reportfilename.
If U want I can give U the utility creata in VB, and all the councils for u to manage using Crystal reports.
So mail me at [email protected] for more details.
Best regards
Vincent

Similar Messages

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Where is the parameter panel on the embedded Crystal Report preview in Visu

    Where is the parameter panel on the embedded Crystal Report preview in Visual Studio?
    I found a tweet on google about this.. but the link is invalid.. and I could not find the article on SDN.
    KB #1486469 - Where is the parameter panel on the embedded Crystal Report preview in Visual Studio? http://tinyurl.com/22thlcg
    How do I the show parameter dialog in either WPF or Winforms viewer of Visual Studio 2010.
    Parameters are not even visible in the Parameters Side panel. It is empty too..
    I see two classes ParameterPrompting and ParameterPrompt both, on initialization throws exception.. even to manually invoke them...
    Is it permanently removed?

    Hello,
    Seems like a reported Bug.
    Please check:
    Re: CRVS2010 - Hide Group Tree and Parameter Panel
    A possible woraround but you need to change as per your need:
    CRVS 2010 BETA - WPF Viewer - How to hide SidePanel?
    Hope it helps.
    Thanks.

  • Crystal Report Windows Forms Viewer problems - table could not be found

    Hi,
    I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
    the caption says: "Crystal Reports Windows Forms Viewer"
    the message says: "The table 'paymentVoucher' could not be found.
    Error in file C:\...paymentVoucher.rpt. The table could not be found."
    By the way, I can run the report in another workstation.
    Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
    Thanks in advance.

    The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
    I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
    Thanks everyone for the advice.

  • PASSING PARAMETERS TO CRYSTAL REPORTS THRU FORMS!

    Hi! all,
    Is there someone who passed parameters to crystal reports from
    forms 5.0?
    The problem is when I call the report executable from the form,
    its giving a login prompt again which is not desirable as @ this
    stage the user has already logged in once. So is there a way to
    pass this as a parameter to crystal or may be any better way???
    Thanx for the solution,
    Hima
    null

    First make sure you are on SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    (The above does apply to your version of CR also)
    Have a look at the samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    And look at the Developer Help file:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.
    - Ludek

  • How Call crystal report  from form

    Hi all
    i make report by crystal report but i can't call it from form , which function in form builder do that?

    Hi all
    i make report by crystal report but i can't call it from form , which function in form builder do that?

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Crystal Report Windows Forms Viewer - No Error Popup

    Similar to this post:  Error message that says "No Error" from CR Viewer, I have just upgraded by Application to .net 4.0 and Crystal Reports 2010. The report viewer works fine the first time a report is loaded, but when I change the parameters on the report, and put the updated report back into the report viewer, I get the message shown above.  The report does not change its parameters and the updated report is not displayed.  The code in question is setting the date parameters for the report.  The user can select new date parameters from the form that encloses the report viewer.  The code subclasses the Report Object code to add additional functions through interfaces.  The IDateRange interface provides a starting and ending date range for the report using a property on the report class as follows:
        Public Property EndingDate() As Date Implements IDateRange.EndingDate
            Get
                Return _endingDate
            End Get
            Set(ByVal value As Date)
                _endingDate = value
                Me.SetParameterValue("EndingDate", value)
            End Set
        End Property
    In addition, the immediate Window shows the following message:
    A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    The code in the Report Viewer looks like this, see line marked in blue for when pop-up appears:
    ''' <summary>
    ''' Sets the report period and displays it.
    ''' </summary>
    ''' <param name="Report">The Report.</param>
    ''' <param name="Refresh">if set to <c>true</c> force a refresh.</param>
    Private Function PFSetReportPeriod(ByVal Report As Object, Optional ByVal Refresh As Boolean = True) As Boolean
        Dim fld As FormulaFieldDefinition
        Dim bRefresh As Boolean = False
        Dim rpt As ReportClass = CType(Report, ReportClass)
        Try
            If CRV.ReportSource IsNot Nothing Then
                rpt = CType(CRV.ReportSource, ReportClass)
            End If
    If TypeOf rpt Is IDateRange Then
        With DirectCast(rpt, IDateRange)
    .        StartingDate = dtpFromDate.Value
    .        EndingDate = dtpToDate.Value
        End With
        SetTitleLine2(DirectCast(Report, ReportClass), bRefresh)
        bRefresh = True
    Else
        If TypeOf rpt Is ReportClass Then
           fld = rpt.DataDefinition.FormulaFields("FromDate")
           If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpFromDate.Value.Year & "," & dtpFromDate.Value.Month & "," & dtpFromDate.Value.Day & ")"
                bRefresh = True
            End If
            fld = rpt.DataDefinition.FormulaFields("ToDate")
            If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpToDate.Value.Year & "," & dtpToDate.Value.Month & "," & dtpToDate.Value.Day & ")"
                bRefresh = True
            End If
            SetTitleLine2(rpt, bRefresh)
        End If
    End If
        If Refresh And bRefresh Then
            If dtpToDate.Value <> CDate(dtpToDate.Tag) OrElse _
               dtpFromDate.Value <> CDate(dtpFromDate.Tag) Then
                    System.Windows.Forms.Application.DoEvents()
                If CRV.Visible Then CRV.ReportSource = rpt ' The popup appears when this statement is executed.
                If CRV.Visible = True Then CRV.Refresh()
                dtpToDate.Tag = dtpToDate.Value
                dtpFromDate.Tag = dtpFromDate.Value
               Return True
            End If
        End If
    Catch ex As Exception
        DisplayException(ex)
    End Try
    Return False
    End Function

    Problem has been resolved.  I downloaded Support Pack 8 (v.13.0.8.1216) from this location.  I then applied the fix from the entry above:
    With CRV ' Report Viewer Control
        If .Visible Then
            If .ParameterFieldInfo IsNot Nothing Then .ParameterFieldInfo.Clear()
            .ReportSource = rpt
            .Refresh()
        End If
    End With
    And no more annoying "No Error" messages.

  • Run report thru form builder

    hi
    I have a table
    EMP(empname varchar2(30),
    empno varchar2(20),
    add1 varchar2(60),
    add2 varchar2(60),
    sal number(10,2),
    comm number(10,2)
    i want create a report and
    parameter form and run it thru form builder
    can it possible i select column name in parameter as a list and report
    show data only these column
    if any solution plz help me
    with thanx

    I think you can achieve this as follows:
    set up a new parameter, say P_FIELD, with initial value of empname
    in your data model have an sql something like
    Select
    P_FIELD as field1 from EMP
    pass the column name to P_FIELD and the report will return that column

  • How to view flash embedded crystal reports?

    Dear Experts,
    I created a simple flash (SWF) file using xcelsius 2008 & Crystal Report Data Consumer data connectivity.
    I embedded this flash object in a crystal report and checked the preivew. Every thing works fine in the Crystal Reports preview.
    But when I opened in my CR viewer for the same crystal report having flash file embedded, the flash files are not shown at all (checked with downloaded CR Viewer and my application viewer).
    After searching this forum and related documentation, I came to know from Crystal Reports 2008 FAQ that Crystal Reports 2008 Viewer (.NET winform viewer)- Doesnu2019t supports embedded Flash and and .NET WebForm viewers supports Crystal Reports with embedded flash.
    I tried exporting to HTML format to see whether my flash files are working. Yes it is working in HTML exported. So, is it is using .Net WebForm viewer to display HTML exported files.
    Is .Net WebForm viewer available as a seperate download?
    Thanks in advnace for your help.
    Regards
    Satish

    Hi Satish,
    The .Net WebForm viewer isn't available as a separate download. When Crystal Reports Developer is installed then the  .Net WebForm viewer gets integrated with Visual Studio automatically.
    Please try with the Crystal Reports Developer version and update us if you have any further queries.
    Thanks!

  • Crystal Reports as Forms

    I've got a handful of Adobe Forms that I want to convert into Crystal Reports and need to incorporate a "checkbox" that the user can tick off interactively with the report.
    I've read a lot of threads describing how to show a checkbox based on a database value, but none that actually allow a user to click on the box and check/uncheck it.
    This "form" doesn't need to submit anything back to a database because the users will just be printing the form out and faxing it off. It just needs to be interactive.
    Thoughts, ideas?

    I've never heard of this. You can export to Adobe but I don't believe we have an Adobe plugin.

  • Crystal Report Windows Form Viewer - Error in compiling SQL Expression

    I am using C# and the Crystal Reports API to render reports in a windows application. Recently we decided to start using SQL Expressions in our reports. The reports developers are able to use them in development, but as soon as we deploy the reports to production, we are seeing the following error.
    Why does this work when developing forms but not when using the C# API?

    Hi Adam
    I pinged couple of people here, but so far have not got a reply. I'll update this post as soon as I get anything.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Report y C++ Builder 2009

    Buenas, Gente estoy buscando información acerca de como utilizar Crystal Report XI en C++ Builder 2009, por favor si alguien tiene informacion que me pueda compartir, lo agradeceria mucho.
    Saludos.

    Just an FYI. These forums are English only please.
    I understand that you want to be able to use CR XI in C++ Builder 2009. Never having used C++ Builder 2009 with CR, I can only suggest that you should be able to use the Crystal Reports Report Designer Component (RDC). For more info see C:\Program Files\Business Objects\Crystal Reports 11\Developer Files\Help\En\CrystalDevhelp.chm (if using CR 11.0) or C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\rdcsdk_com_dg_doc\doc\rdcsdk_com_dg.chm (if using CR 11.5).
    Ludek

  • Crystal report windows forms viewer - error in file

    I am using visual basic - visual studio 2005 with crystal reports version 11.5 and am getting the following error when deploying to a windows 7 32 bit machine
    Error in file
    c:\users\username\appdata\local\temp\tempmanynumbersandcharacters.rpt
    The request could not be submitted for background processing.
    All six reports for this application give the same error.  There is not a problem when it is deployed to a windows xp machine.  I have three other applications that do not have problems in windows xp or windows 7 32 bit.  I can't see any difference between these three apps and the one have a problem in windows 7.
    Thanks,
    Jay

    You do not mention if you searched the forums and the Kbase for the error... Using the search box in the top right corner of this web page will return KBases, Blogs, Wikis, articles and more. The following article should have been returned with a simple search;
    [Causes of "Background Processing" error|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33]
    See if it helps. If not, do a few searches as there may be other reasons not documented in the articles.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for

  • My ipod nano will not show any music on it after syncing or manuallly adding it, but the information still takes up space in ipod

    I have tried to put music on my ipod nano 3rd gen both manually and syncing it, but it never shows up after I eject my nano. The songs I put on will take up space, but the ipod says no songs. I have restored it multiple times and nothing has helped.

  • Sequence Settings when using low resolution video

    I am going to create a project that will consist of DV 720 x 480 and some really low resolution video from digital still image cameras. 1. If I export as DV NTSC, what is technically happening with the video that is in my Sequence that is smaller tha

  • UNBlocked number in contact list

     I have complete blocking so that my number dosen't show on the caller id of the people i'm calling. For certain contacts, I have a *82 prefix so that My number will be unblocked for that contact.  My Problem is that when I send a text, i have to rem

  • Getting error in sap.ui.core.js file in sapui5 Mobile Application

    Hi, I have done mobile app in SAPUI5. When i run that application the following problem occurred. HTTP request failed0,, - at file :/// assets/www/resources/sap-ui-core.js: 6809 that means in this code function J(i, m, v, w) {                        

  • JTable duplicate entries

    Hi, I have a JButton (Add Item) which creates a new JInternalFrame (with some additional JTextFields, Labels and Buttons). Two of the buttons on this JInternalFrame is labled "Ok" and "Cancel". When I click on "Ok" after some data has been entered in