Intellisense for report parameter where value comes from a query

I've got a report that pulls print information for a table.
We want to add a parameter to select the userID.  I got a query  for each distinct individual but there are over 3500.
Is there a way to use intellisense to get the parameter with out scrolling through all 3500 users?
The more you type the shorter your choices get?

You can create through the Visual Studio using the ReportViewer component. You should create the custom filters (AJAX AutoComplete) and through them, pass the values to the ReportViewer using the code C# for example. The code below illustrate a connection
with Report published in Reporting Services Portal.  
string report = "ReportName";
string user = ConfigurationManager.AppSettings.Get("ServerReportUser").ToString();
string password = ConfigurationManager.AppSettings.Get("ServerReportPassword").ToString();
string domain = ConfigurationManager.AppSettings.Get("ServerReportDomain").ToString();
IReportServerConnection connection = new Geicom.ReportServerConnection.ReportServerConnection(user, password, domain);
ReportViewer.ServerReport.ReportServerCredentials = connection;
ReportViewer.ServerReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings.Get("ReportServerUrl").ToString());
ReportViewer.ServerReport.ReportPath = ConfigurationManager.AppSettings.Get("ReportPathRelative") + report;
ReportViewer.LocalReport.ReportPath = ConfigurationManager.AppSettings.Get("ReportPathRelative") + report;
ReportViewer.ShowPrintButton = True;
ReportViewer.ShowPromptAreaButton = True;
ReportViewer.ShowRefreshButton = True;
ReportViewer.ShowToolBar = True;
ReportViewer.ShowBackButton = True;
ReportViewer.ShowPageNavigationControls = True;
ReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;List<ReportParameter> paramList = new List<ReportParameter>();paramList.Add(new ReportParameter("Parameter1", Parameter1Value.ToString(), false));
paramList.Add(new ReportParameter("Parameter2", Parameter2Value.ToString(), false));
ReportViewer.ServerReport.SetParameters(paramList);
Ricardo Lacerda

Similar Messages

  • I have an icon thats appeared in finder ..i don't know where its come from and what its for. It doesn't  respond in any way when I click it.How do I get rid  of it?

    I have an icon thats appeared in finder ..i don't know where its come from and what its for. It doesn't  respond in any way when I click it.How do I get rid  of it?

    I can't select it .. I click on it and nothing happens. The only thing I seem to be able to do is a two fingered click which brings up a context menu for the side bar preferences..but unfortunately this icon does not appear in the list.

  • Where the set value come from

    where is the set value come from, can the value come from Servlet
    create or replace
    PACKAGE BODY TRIGGER_test as
    function setStudentNum(sn in varchar2) return varchar2 as
    Begin
      staff_num := sn;
      return ('Success');
    Exception
    When OTHERS then
      return ('Error');
    End setStudentNum;
    function getStudentNum return varchar2 as
    Begin
      if (staff_num is not null) then
       return (staff_num);
      else
       return ('undefine');
      end if;
    End getStudentNum;
    end TRIGGER_test;

    Hjava wrote:
    >i am assuming that the function trigger_test.setStudentNum() gets executed first which will initialize the staff_num variabl
    when and how?
    Some 'other' bit of code somewhere.  How do we know, as we don't have your application/process code.  There will be something somewhere that calls the setStudentName function, so that when the getStudentName function is called it can return a value.  Values don't just magically appear.
    The only time there may be some code that initializes a value (other than in the declaration of the variable itself) is in a package body execution section e.g.
    SQL> create or replace PACKAGE TRIGGER_test as
      2    function setStudentNum(sn in varchar2) return varchar2;
      3    function getStudentNum return varchar2;
      4  end TRIGGER_test;
      5  /
    Package created.
    SQL> create or replace PACKAGE BODY TRIGGER_test as
      2    staff_num varchar2(30);
      3    function setStudentNum(sn in varchar2) return varchar2 as
      4    Begin
      5      staff_num := sn;
      6      return ('Success');
      7    End setStudentNum;
      8
      9    function getStudentNum return varchar2 as
    10    Begin
    11      return (staff_num);
    12    End getStudentNum;
    13  begin
    14    staff_num := 'undefined';
    15  end TRIGGER_test;
    16  /
    Package body created.
    SQL> select trigger_test.getStudentNum() from dual;
    TRIGGER_TEST.GETSTUDENTNUM()
    undefined
    SQL> select trigger_test.setStudentNum('1234') from dual;
    TRIGGER_TEST.SETSTUDENTNUM('1234')
    Success
    SQL> select trigger_test.getStudentNum() from dual;
    TRIGGER_TEST.GETSTUDENTNUM()
    1234
    As you can see, the first time the package is instantiated in memory (the first time we call any function in it), the package body execution section is called which sets the variable to "undefined" in this example, before the function itself is called to return what the value is.

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • I have a green vertical line in my bb 9300 what ca I do!!! I don know where it come from..

    I have a green vertical line I don't know where it come from
    Solved!
    Go to Solution.

    Ummm...what?
    You "do that last time"? Does that mean you already had tried this before posting? If so, I fear you may have tried other things as well...in which case, I request that you list out EVERYTHING you have already tried along with the specific results of each attempt.
    Further -- "nothing happen"...as in, your BB did not reboot? Or do you mean that the reboot completed fine, but nothing changed regarding the symptoms you reported.
    Please be very careful and explicit as the only information we have is what you say here...assumptions and guesses on our part are made much more difficult when there is little information provided.
    Thanks and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Confirmation of service in the document flow, where it comes from?

    Dear all,
    I found a confirmation of service after I picking and posting goods issue, from the document flow.
    I just wondering, where it comes from? Or, how can I configure it on or off for display?
    (This is a standard ERP system, should not involve in the CRM module)
    Thanks,
    Edited by: Peng Li on Apr 29, 2008 10:04 AM
    Edited by: Peng Li on Apr 29, 2008 10:38 AM

    Hi Peng,
    This usually happens for inbound deliveries usually happens when a movement type is not found for the relevant item. Please check in the delivery item if a movement type is maintained.
    Another possibility is that the material is a non-stock (service) material type for which goods movement are not relevant. Check the material type from the material master.
    Regards
    Nikhilesh

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Wifi is not available where I come from. I have broadband connection where data transmission is through cell sites then to USB modem connected to a computer. The modem draws power from the computer. Will this setup work with the ipad?

    Wifi is not available where I come from. I have broadband connection where data transmission is through cell sites then to USB modem connected to a computer. The modem draws power from the computer. Will this setup work with the ipad?

    iPad requires Wifi (or 3G /LTE) to connect to the Internet. You cannot connect a USB modem to the iPad.
    You can create your own WiFi hotspot through your computer for your iPad to connect to, if your computer supports this functionality. All Wifi Macs and many Wifi PCs do. Check your computer manual for how to do it.

  • How to retrieve dynamic filter value submitted from control query to .....

    How to retrieve dynamic filter value submitted from control query to broadcast query.....
    I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
    The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
    But how do I catch the dynamic filter value which has been submitted by the bursting query,
    with other words:  where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
    BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
    Any thoughts are welcome!
    Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PM

    Further information,
    Report is used via webi only, not Xcelsius or Dashboard.
    Report is consuming BI Web Services.
    Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows?

  • Need to supress main report based on shared value comes from subreport

    Hi,
    I have a database that is used in both main report and subreport. On main report I have column a,b ,c, d,e,f to display in detail section, the subreport (column c, g,h etc) is also displayed on detail section, the link between main report and subreport is column a,b and a formula based on the value of c. So the link is within one database, some records link with other records  and display both matching records on one line(especially column c shows one value in main report and another value in subreport). That's why I need subreport and I can display the report correctly.
    Here is my question: if one record in main report couldn't find a match in subreport (subreport is blank), then I would like to show this record; if one record in main report does find a match in subreport, I don't want it to show(need to be supressed). I can define a shared variable to flag whether the subreport is blank or not, but this shared variable has to be placed under the section of subreport in main report and I don't know how to supress the upper detail section with subreport in it.
    Any help would be appreciated!
    Helen

    Hi
    In this case you need to insert the same sub report twise.
    Example :
    Detail a--Insert the sub report and go in sub report suppress all sections and using shared variables bring the value to main report.
    Detail b -- based on detail a sub report suppress the main report records
    Detail c-- Your actual sub report will display the values.
    Note : use the same links for your detail 'a' sub report which you are using for detail 'c' sub report.
    Thanks,
    Sastry

  • Using (Select All) for report parameter

    Hi there,
    I am Looking for assistance in making the the (Select All) option work for a particular report. The parameter is for product families (which there are about 47 unique results for). The report is also influenced by two other parameters, one being a date type
    i.e 'MTD' 'YTD' 'MAT'. When a long date type such as MAT is selected, selecting all families causes the report to get stuck in an endless loop.
    I've tried creating my own <Select All'> item in the parameter dataset, then I have the opposite issue, the <Select All> selection works perfectly but when I try and tick two or more product families I recieve the following error:
    "An expressions of non-boolean type specified in a context where a condition is expected, near ',' "
    Parameter Dataset:
    SELECT '<Select All>' AS family_description, '<Select All>' AS family_code
    UNION ALL
    SELECT DISTINCT family_description, family_code
    FROM dim_item AS item
    ORDER BY family_description
    Snippet From Main Report Dataset:
    Where
    sales.oe_branch_code IN (@Branch)
    And
    sales.order_status <> 'X' and sales.line_status <> 'X'
    AND (item.family_code IN (@Family) OR @Family = '<Select All>')
    Any help is appreciated
    Thanks Kindly
    SQL Novice

    Hi KCBA,
    I have check the query you have provided the issue cause by the query "
    AND (item.family_code
    IN (@Family)
    OR @Family =
    '<Select All>')" you are using which is incorrect.
    If the parameter @Family have set as "Allow multiple values" then you don't need to add new label "Select All" for the multiple value parameter already have this section, if the parameter @Family is not the multiple values
    parameter and you want to select all the values or just select one, you can modify the query as below which will works fine:
    "AND (item.family_code =
    (@Family) OR
    @Family = '<Select All>'
    If you are using the stored procedure and have issue about add multiple value parameter in the where clause, you are take reference to below similar case about how to create an function to make it work:
    Passing multi-value parameter in stored procedure ssrs
    If I have some misunderstanding, please try to provide more details information about the relationship of all the parameters (Cascading or not ), current result  you have got and expect result you want(Snapshot).
    Any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Report Parameter Default Value at runtime

    Post Author: DMiller
    CA Forum: .NET
    Hi,
    I need to be able to create new parameters at runtime and have been somewhat successful in this endeavor. I have one remaining issue that I am hoping that somebody can help me with. Let me explain.
    When you create a parameter from within the Crystal XI designer, you are able to specify a number of default values that will display as a list box at runtime. Eg. ParameterName is MaritalStatus and default values are ("Married", "Single", "Divorced" etc). There is also the ability to specify the Default Value in the Value Options area of the screen. This value could be set to any one of the default values above - let's say that I set it to "Single". By setting the Default Value, this causes the Parameter Fields screen, at runtime, to "Select" the specific default value set above - in this case "Single", instead of showing "..." as the parameter value.
    The default value setting in the Value Options is beneficial when you have reports that are usually run with certain parameter values and only occasionally these need to change. Instead of having to specify every parameter value, the user only has to set the ones that have not been defaulted or they want to change.
    So, I have been successful in creating the parameters at runtime and successfully running the report. I have been unsuccessful in setting the "Default Value" as seen in the Value Options area. I have tried a number of properties on the report parameter object and have not found anything to set this.
    Does anybody know how to set the "Default Value" as seen in the Value Options area in the designer at runtime?
    Thanks for any help.

    Post Author: JerryB
    CA Forum: .NET
    You have described my scnario to a tee.  Did you ever figure out how to get the single default value that is available in the "value options" area when working within the Crystal Reports development environment.  I am using VB.Net and have a nice report menu form and viewer but recently a user ask me to set the default value in one of my combo boxes and I have been unsuccessful in finding the correct property to use.

  • Crystal Report Parameter multiple values

    In crsytal report 2008, I created a report to enable user to view list of sales order. I created the following parameter to display list of sales order:
    doc@select docnum from ORDR
    In SAP B1 8.8, it displays a dropdown list of SO and users can select one sales order at a time to view the report. However, is there a way for users select MULTIPLE SO from the dropdown. I know in the parameter properties, you can set the 'enable range values' to TRUE. The end result of that is it generates a range for users to choose from (docnum next to each other). Instead of selecting range of SOs, is there a way for users to select random SO from the list? Example, from the list, select SO 13000, 13010, 14000 etc. Thanks.

    Daniel,
    Excellent, I changed
    - list of values from static to dynamic
    - changed toke from @select docnum to @select *
    - changed select criteria from docnum to docentry
    The list works fine.
    From the multiple values selection screen in SAP, it shows the following three columns:
    - Value (DocEntry)
    - Description (DocNum)
    - Check Box
    I was able to hide the vlaue (docentry) column from form settings. However, can I change the name of 'Description' to something more meaningful like 'Sales Order #'? Also, the description column is really wide. Is there any way I can narrow the column width?

  • Report parameter field value has a single quote. need to escape before pass

    Report has a parameter whose value might have a single quote in it. If I pass that value directly into the SQL Command... like
    where ... user_name = {?parm_user_name}...
    which would translate to
    user_name='O'Donnel Honda'
    I am getting an error... so would like to convert this parameter value into 'O''Donnel Honda' before passing into the query.
    I created a formula called parse_user_name with following:
    Replace ({?parm_user_name}, "'", "''")
    And used in the query like
    where ... user_name = {@parse_user_name}...
    I am getting an error like invalid SQL92 character...

    I think you should use the condition like this
    where ... user_name = '{?parm_user_name}'
    keep the parameter in single quote at the command level itself.
    Now use the same formula like
    replace({?Parameter},"'","''")
    This works only if the parameter is a single value parameter but not multi value parameter.
    Regards,
    Raghavendra

  • FatalInternalException The metadata for type "XYZ" did not come from a file,.....

    Hy !
    Did KODO have Problems if there is a mix of jdo metadata files in
    build.dir and in external jar's while registering a Schema with the
    MappingToolTask ?
    We extracting all *.jdo files from additional jars to a metadata dir and
    also copying all *.jdo files from the current build.dir, because KODO
    only supports a single Fileset for the Metadatafiles.
    The Ant Schema Task looks like:
    <target name="schema-create-kodo" depends="init-kodo-schematool">
         <echo message="Schema Create for KODO"/>
         <taskdef name="kodo-schematool"
              classname="kodo.jdbc.ant.MappingToolTask"
              classpathRef="jdo.schematool.class.path"/>
         <kodo-schematool action="refresh">
         <config propertiesFile="${zeus.persistence.jdo.properties}"/>
         <fileset dir="${jdo.metadata.dir}">
              <include name="**/*.jdo" />
         </fileset>
         <classpath>
              <pathelement path="${compile.project.class.path}"/>
         </classpath>
         </kodo-schematool>
    </target>
    jdo.schematool.class.path: is the Path for the KODO Schematool
    zeus.persistence.jdo.properties: ist the kodo.properties file
    jdo.metadata.dir: is the dir with all metadatafiles
    compile.project.class.path: is the classpath including a build.dir with
    class files + metadatfiles and differnet additional jar files containing
    also enhanced classes with corresponding metadata files
    and that fails with:
    [kodo-schematool] kodo.util.FatalInternalException: The metadata for
    type "class com.wuerth.phoenix.bcserver.base.versan
    t.PCapacityStruct" did not come from a file, and therefore we cannot
    determine where to place the corresponding mapping
    information. If you are using metadata from a jar or other resource,
    you should use one of the other available mapping
    factories.
    com.wuerth.phoenix.bcserver.base.versant.PCapacityStruct comes from a
    jar which also contains a metadatafile.
    We are wondering because if we exlicit give a different metadata file
    via a fileset the Schematool should ignore the other Metadata files
    inside the jar + build.dir !?
    mfg
    Christian

    The only Apple computers that have a Mag Safe connector are MacBook laptops (MacBook, MacBook Pro and MacBook Air).
    The Mac mini 2010 and 2011 models have a standard power connector, I believe it is called an IEC C7 connector. You can see a picture of the back of the Mac mini here http://www.apple.com/macmini/design.html
    Older Mac mini models prior to 2010 have a proprietary connector. While the following page is for a very old PowerPC Mac mini the connector is the same on early Intel Mac mini models as well. See http://support.apple.com/kb/HT3019

Maybe you are looking for

  • Slow extraction in big XML-Files with PL/SQL

    Hello, i have a performance problem with the extraction from attributes in big XML Files. I tested with a size of ~ 30 mb. The XML file is a response of a webservice. This response include some metadata of a document and the document itself. The docu

  • Character Sets - socketchannel read error

    I have made an FTPserver which i have just noticed is having trouble when the file name being requested/send has non-ASCII characters in it such as '�'. Since i am using nio i thought it would just be an simple task of just changing the character set

  • SyncMaster 2343BW won't connect via DVI from Radeon 2600XT

    VGA works but I only get 4:3 resolutions. Via DVI, the screen isn't seen by the computer (nor by me, but in black!). I verified the cable with another screen. I tried: - each of the DVI ports - VGA coupled with DVI (as it was recommended in some foru

  • Database Link Problem-Peculiar SQL stmt execution.. Please help

    Hi all, This is a strange problem i'm facing while running the following query. This query is run on the local machine which is fetching data from another remote database. All the functions included also are fetching data from the remote database thr

  • No success in placing background image in JComboBox drop-down!

    Hi All! I have an urgent proble, which I was not able to resolve a full day and a half long!!! I want to place a background image in the dropdown (JPopupMenu) of a JComboBox. Not behind the Menu Items (I know how to do that), but behind the popup its