Dynamic parameter in crysta report 10

Post Author: faicalcbs
CA Forum: Formula
Hi I use crystal report 10 to edit my report,I like to use a dynamic parameter like in  crystal report 11, but in 10 version the parameter is static, is there is solution in 10 version?thank you

Post Author: yangster
CA Forum: Formula
nodynamic prompts are only available in version XI and up

Similar Messages

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Paasing dynamic parameter to Run reports type of form function

    Hi,
    I want to create form function "XXFORMFUNCTION"which can be invoked as a concurrent program in SRS window. So that the click of button, I will call form function "XXFORMFUNCTION", and it will invoke a concurrent program.
    To do this, I have created form fucntion of "Run reports" type and passed parameters as
    CONCURRENT_PROGRAM_NAME = 'FNDACTIVEUSER' PROGRAM_SHORT_NAME = 'FND'.
    But my requirement is to pass this CONCURRENT_PROGRAM_NAME as a parameter. In above case I have hard coded it.
    I want something like this
    CONCURRENT_PROGRAM_NAME = &prg PROGRAM_SHORT_NAME =&appl
    I will pass &prg and &appl as a parameter to form function from OAF form..
    How to achieve this?
    Regards,
    Parag

    I was able to get a Page item set to the value I want to use in my tabular form.
    I created a Page Item 'P1358_HOLD_ATTENDANCE_CODE' and I can see it getting set to the correct value.
    I tried to create another TRUE condition in my Dynamic Action to set the tab form select list item (f03), but it's not working.
    here is what I tried:
    var row = $x_UpTill(this.triggeringElement, 'TR');
    var otherElement = $('input[name="f03"]', row)[0];
    otherElement.value = $x('P1358_HOLD_ATTENDANCE_CODE').value;

  • Help Needed in passing parameter to cryst report

    Hello everyone, I am trying to create a report for a single record and as such am trying to pass parameters to a crystal report but I am not sure exactly how to do this. This is my own method that I am employeeing. I do not want to create a data table and put all the info I need in there and then base a report off of it. I do not want to deal with loops and arrays right now. I just want to pass for example parameter JuvenileID = 1 to my crystal report, then create a command under the database expert and set the parameter for my command to the parameter I passed my crystal report. How would I go about in doing this? I am using VS 2010 C#. This is a windows application. I have a dataentry form that is already populated with the info needed for the report. I just need to pass all the controls.text values to the report and populate it that way.

    I'm not sure if I fully understand the issue, but since you have all the data you need in a data entry form that is already populated, why don't you simple create an ADO .NET Dataset and pass that to the report? Much easier to implement, faster execution with the small amount of data you have and less code.
    Dataset sample app is here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    More info on datasets is here:
    [1511438 - How to use datasets to pass data to crystal reports|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533313331333433333338%7D.do].
    - Ludek

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Dynamic Parameter Prompting for Database Connection Password When schedulin

    I'm having problems with Dynamic Parameters when I try to schedule a report in InfoView.
    I create the report in Crystal Reports XI and publish it to the Crystal Server. I go into CMC and under Process:Database set the correct data source and enter the server, database, user and password.
    When the report is run I can choose a dynamic parameter and the reports runs fine - it's when I try to schedule the report and choose the parameter that I am asked to enter the user and password for the database.
    If the parameter is static it's fine and I don't get prompted. Because I want the end-users to schedule their own reports I need to have the user and password embedded in the report.
    From what I've read in the forums, there seems to be a lot of issues with dynamic parameters and database logons, and no real solutions. But this is just weird that it's only failing when I try to schedule the report!

    I am having the same issue. 
    Issue started on 9/25/2008
    Existing BO 11r2 installation including service pack 2
    Windows Server 2003 Service pack 2
    Existing scheduled reports do not exhibit this behaviour and run correctly.
    Add new or update existing report. Log into the CMC as administrator and set process for database and parameters.
    Exit CMC
    log into Infoview.  Click on report and run (as administrator OR as existing user with permissions) NO PROBLEM.
    Log into Infoview as Administrator or existing users with permissions) as attempt to schedule report.  All reports Any dynamic parameter and request for user name and password opens.  Once the correct info is entered the report can be scheduled.
    This is a new issue on our installation, we have been running without problems for over a year.
    Any help appreciated.

  • How to create a dynamic parameter off a universe field

    Post Author: Summer Frend
    CA Forum: General
    Hello,
    I am trying to create a dynamic parameter in Crystal Reports off my universe field. However the fields appear to all come in as STRING with length 65534 (memo field?). Therefore the fields are not available to choose in my parameter creation box. NOTE: In the universe designer, the field is set as CHARACTER type. I am just trying to make it work with the sample universes that are shipped with BobJ.
    Is there a way in the Universe Designer to make the fields come into Crystal Reports as string fields so that I can choose them as the value for the dynamic parameter in Crystal Reports?
    Thanks,
    Summer Frend

    I'll try again,
    My problem is that I want a dynamic paramater for my Master flow (on START1 activity, so it is something like that : start1.param = select seq.nextval form dual; or from a function GET_PROCESS_ID) but it seems that I must give a permanent parameter it can not be set dynamicaly. I want my flow to be independant of any human intervention. So if it is the first load it does one thing if not the first load it does something else. I can not understand the point of having a parameter (in) that can not be set dynamicaly (looks more like a constant to me, or I'm missing something here). Hope your getting my point.
    Thanks again
    Jacques

  • Dynamic parameter not populating

    Post Author: lk4772
    CA Forum: Crystal Reports
    hello. we have crystal reports server xi r2 sp2, and crystal reports xi sp3 installed. we also this past weekend upgraded our database server (windows 2003 server). however now, when trying to add a dynamic parameter to a report, I get an empty list box on the right side of the popup screen and nothing else for the parameter. I've double checked that the business view the parameter is based on does actually pull back data (and it's pointing to the new server) by just adding the view to a brand new report with no criteria, and also made sure the parameter was successful last time it was scheduled to run...but nothing's working...even creating a brand new report and adding the parameter to it doesn't populate the list box....however, there are several other parameters that are working correctly - does anyone have any ideas as to what's going on? does this make any sense? thanks in advance!

    Post Author: dhauge
    CA Forum: Crystal Reports
    I'm experiencing similar issue.  When I bring in the data I see 50 or so different "usernames" in my data.  Then if I simply add a dynamic parameter to populate a list of "usernames" and add that criteria in my select expert, I only see about 25 usernames.  The other people disappear for some inexplicable reason.  I tried created a blank reporting, and ONLY bringing in the one field and it does the same thing....

  • Problems using Dynamic parameters with Crystal Reports and SBO 8.8

    Has anyone been able to successfully use a dynamic parameter in Crystal Reports with 8.8 using the Business One connector? When we try we get an additional logon to the database that pops up and the logon fails.
    We need this because we want to return live lists of PO documents from the server for selection. We are also trying to use nested dynamic parameters, because we want to first return the PO document based on the PO number, and then chose specific rows based on a field value in POR1.
    It works if we don't use the Business One connector, but then the report doesn't function properly inside of SAP.
    Any ideas would be appreciated.

    I have tried using tokens but they are too simple. I need something like a subselect where you first select one value and then another that is a subset of those values. Apparently the tokens can't even use a "where" clause.
    SAP dances around Dynamic parameters, but won't come out and say that they can't be used with the B1 connector. If that is the case then they should just say so and stop wasting our time. Apparently Crystal is not truely interfaced with B1, just sort of hanging out with it.
    I don't really care other than I have to do this select, subselect. If someone has a way to do that with tokens I would love to hear it.
    Thanks,
    Roy

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report Viewer Dynamic Parameter List not showing a complete list of values

    Hi, I have installed the crystal report runtime 13.0.1.220 for framework 4.0 in a 64-bit windows 7 professional server.
    I have an aplication that opens crystal reports using the crystal report viewer control for visual studio 2010, also version 13.0.1.220.
    ISSUE: The report opens fine, but it does not shows all the available values in the dynamic parameter list.
    I have tried setting the MaxRowsetRecords registry key to diferent values but it does not work.
    I do not have any crystal report stand alone version installed in my server.
    Please help me?

    Hi Ludek,
    yes i followed the instructions of the KBase you are mentioning, but it isn't working for me.
    I modified the following keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    1) I had to create the LOV key under the DatabaseOptions in both keys.
    2) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    3) I restarted my server. Still not working.
    4) Then after that i modified the following registry keys: (leaving the first 2 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\DatabaseOptions\LOV
    5) Also had to create the LOV key under the DatabaseOptions in both keys.
    6) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    7) Restarted my server. still not working
    8)  Then after that i modified the following registry key: (leaving the first 4 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\ReportView
    Inside this key I created the DWORD PromptingLOVBatchSize and gave it a decimal value of 1000000
    9) Restarted the server. Still not working. For crying out LOUD!!

  • Crystal Report Dynamic Parameter for SAP B1 version 8.8

    Hi, does anyone have problem with the dynamic parameter prompt for Crystal Report in SAP B1 version 8.8?
    For example:
    1. For static parameter that allows multiple value --> In SAP B1 v8.8, there is a check-box and a "..." button next to it. When you click the "..." button, a new window appear with a list of values to choose.
    2. For static parameter that does not allow multiple value --> In SAP B1 v8.8, there is one field with a drop-down menu.
    3. For dynamic parameter that allows multiple value and does not allow range values --> In SAP B1 v8.8, just one field for us to key in the value. Shouldn't this be the same as No. 1?
    4. For dynamic parameter that does not allow multiple value  and does not allow range values --> In SAP B1 v8.8, same as No.3 above. Shouldn't this be the same as No. 2?
    How do I get no. 3 dynamic parameter that allows multiple value and does not allow range values  to have a check-box and a "..." button next to it to allow us to select multiple values?

    Hi Shwu Hua Gan,
    Thank you for your reply.
    Please forgive me as I don't really understand what you are saying here. To be honest, I'm very new to Crystal Report and my understanding of CR is just the very basics. I'm actually not from a technical background which makes it more difficult.
    In your reply:
    Ie, you create a parameter in Crystal report, and by using the token eg:Mytest@select * from OCRD, it gives you the benefits of selecting the list from the database.
    How do you do this by using the token? All I did is just select the parameter type (dynamic) and then select the table. When I preview the report in SAP B1 8.8, it doesn't prompt me like how I expect it to be. It is a blank field that I have to key in the value myself and then only the report will generate. Sometimes I don't remember what value to key in, so I have to do a formatted search for the blank field. After the report is generated, I can reselect the value (multiple values) from the CR viewer panel toolbar and refresh the report.

  • How to use Dynamic cascading parameter in crystal Report XI ?

    Hi,
    I want to use Dynamic cascading parameter in crystal Report XI which is to be viewed through the infoview without using the Business View.Is it possible?
    I could implemented Dynamic cascading parameter using the CR XI developer without using Business View, but cannot view the report when uploaded it to BOXI, through infoview.
    Please suggest..
    Thanks in advance..
    Rajneesh

    In the crystal reports field explorer>right click on parameter field>create new-->name the parameter field and select the type as dynamic. Now in the value field click the row and add the database field also add another field below that by clicking on the next row so..on. The order should be like this parent field first and then child field next...... Also click on the last column to add parmater for each level.
    Regards,
    Raghavendra

  • Crystal Reports dynamic parameter does not work in InfoView

    Hello,
    We have developed Crystal Reports in CR2008 on top of SAP infoset and we have one of our selection parameter as dynamic parameter. It works fine in the CR Dev tool but when i upload the report in the InfoView, report does not show any value in the "Available Values"
    Any input will be much appreciated.
    Thanks.

    I did found the solution for this, i had to go into Business View Manger (BO Client Tools) and Schedule the LOV (List of Values). This is odd setting! but it works....

  • Calling a report that have dynamic parameter from vba

    i have this report that have a dynamic parameter , when i call from my application using vba it aske for server name , user id  and password , even i have provided the connection string right , so if there is diffrent way to do it can you tell me , because this is killing me from over a month
    i have attached the a screen shot and the code is following
    thanks
    Dim cn As ADODB.Connection
    Dim rst As ADODB.Recordset
    Dim userinfo As New RetrieveGlobals9.retrieveuserinfo
    Dim strsql, sqlDataSource, pwd, userId1, constring, interCompanyID As String
    Dim path, userf, userto As String
    Public application As New CRAXDRT.application
    Public report As New CRAXDRT.report
    Private Sub CUPRPayrollReports_Initialize()
        sqlDataSource = userinfo.sql_datasourcename
        userId1 = userinfo.retrieve_user
        pwd = "sql"
        interCompanyID = "ASCTR"
    End Sub
    Private Sub DepartmentWisePrint_Changed()
    CUPRPayrollReports_Initialize
      path = "C:\Program Files\Microsoft Dynamics\GP\departmentWise.rpt"
      Set cn = New ADODB.Connection
      constring = "Provider=MSDASQL" & _
                 ";Data Source=" & sqlDataSource & _
                 ";User ID=" & userId1 & _
                 ";Password=" & pwd & _
                 ";Initial Catalog=" & interCompanyID
      With cn
          .ConnectionString = constring
          .CursorLocation = adUseNone
          .Open
       End With
    Set rst = New ADODB.Recordset
    strsql = "SELECT * FROM DepWise"
    rst.Open strsql, cn, adOpenDynamic, adLockOptimistic, adCmdText
    Set report = application.OpenReport(path, 0)
    report.Database.SetDataSource rst, 3, 1
    report.EnableParameterPrompting = True
    ReportViewer.CrystalActiveXReportViewer1.ReportSource = report
    ReportViewer.Top = 0
    ReportViewer.Left = 0
    ReportViewer.Height = 500
    ReportViewer.Width = 760
    ReportViewer.ScrollBars = fmScrollBarsBoth
    ReportViewer.CrystalActiveXReportViewer1.Top = 0
    ReportViewer.CrystalActiveXReportViewer1.Left = 0
    ReportViewer.CrystalActiveXReportViewer1.Height = 500
    ReportViewer.CrystalActiveXReportViewer1.Width = 750
    ReportViewer.CrystalActiveXReportViewer1.EnableGroupTree = False
    ReportViewer.CrystalActiveXReportViewer1.EnableRefreshButton = True
    ReportViewer.CrystalActiveXReportViewer1.EnableExportButton = True
    ReportViewer.CrystalActiveXReportViewer1.EnablePrintButton = True
    ReportViewer.CrystalActiveXReportViewer1.ViewReport
    'If ReportViewer.Visible = False Then ReportViewer.Show
    'If ReportViewer.Visible = False Then
    ReportViewer.Show
    Set rst = Nothing
    Set cn = Nothing
    End Sub

    How many tables is there in the report? And, do you have any subreports? I'd recommend gaining experience with this by creating as simple a report as possible - one table - one field, create a recordset, pass that to this report. Does it work? It should. Now we have a bit of confidence and experience, so increase the complexity. But let me know answers to the two Qs above.
    Ludek

Maybe you are looking for