Allow user to select rows

Is there any way we can allow Users to select rows in a report so that they can print the details present for that report from an underlying details sub-report?
Dhananjay Rele

It is possible but might prove unscalable. SSRS reports provide 3 mechanisms for handling click events.
Hyperlinks. You can format text placeholders to interpret basic HTML, including hyperlinks.
Action. Most SSRS controls have an Action property that has 4 possible methods to handle the click event: None (ignore, default behavior), Go to report, Go to bookmark, Go to URL.
Visibility (Display can be toggled by this report item). You can specify another report control that, when clicked, toggles the visibility of this report control.
The first 2 might be used to reload the current report with updated parameter settings. For instance, I create a parameter called @PrintThis. When I click a row in a tablix, I am clicking on a textbox in one of the colloumns of that row. I can set the action
property of that text box to open the current report, passing all the same parameter values in except that I set @PrintThis to @PrintThis+";"+Fields!MyCell.Value. This parameter is used to display the details of the row I clicked plus any previously clicked
rows. With this approach, you would need a text box with the action property set to pass "" to @PrintThis so the user can clear that property to start over. Or set up a table that displays each value of the @PrintThis parameter with the action property set
to remove that value from @PrintThis (@PrintThis = Replace(@PrintThis, Fields!ClickedCell.Value+";","")).
The 3rd option could be used if the report already has a separate details subreport embedded for each row in the main report's tablix with it's Visibility set to Hide and with "Display can be toggled by this report item" set to the appropriate row's clickable
cell. It will likely take longer to run the report initially but the toggling of the subreports is near instantaneous. Using Action or hyperlink will be quicker initially but each click will have a similar delay to the initial report rendering.
So this will include certain details as determined by the "clicks" a user selects
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.

Similar Messages

  • Diplaying records from database and allowing user to select row

    I am trying to diplay some records from a database inside of a JPanel that I am going to add to a JFrame application if the user clicks on an "Index view" button, then allow the user to select a particular row. When they double click on a row, it will load that record into another JPanel I created to display that record. My question is how would I display the record(s) in a way that will allow the user to select the row?

    OK, so the user can select a row. I was thinking of adding this JTable to a JPanel inside of a JFrame, but if I also want to allow the user to click on a button on the left side of the JFrame ('A' to 'Z'), which will highlight the first record starting with that letter, is it better/easier to put the JTable directly in the JFrame, or put inside a JPanel first?

  • Possible to allow user to select XNET DB?

    I'm writing an application to create a test sequence incorporating user-selected CAN commands. I want to allow the user to select the XNET DB file while the application is running, but this doesn't seem to be possible, at least not as far as I can tell. I have already successfully written all the parsing code I need, now I just have to figure out how to let the user choose the DB file.
    Any ideas? I'm looking into the Generic 'Create Session' approach right now, but I don't know if that's going to work.
    Thanks in advance!

    Under the XNet palette there is a palette for database control.  Generally what I do is delete the existing database on startup, clear the error (incase no database with that name exists) then add that database back with the path to the file that the user provides.  This way the user just replaces the DBC file (or whatever) and the application uses the new one.  There are all kinds of other things you can do with the database editing palette too.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Allow user to select each item in list item only once.

    Hi,
    What is the best way to go to stop the user selecting the same item in a list item more than one.
    I have a multi record block, the user can select values 1-10 for each record, but they should not be allowed to select duplicates.
    Thanks for any help!

    Hi,
    Suppose you have 4 list items A,B,C,D in block "test" and same 4 values in each list item. Now you want that, no two values selected by user in list item should be same.
    On when-validate-item of list item B write code like :
    If :test.A is null then
    Message('First A must be enter");
    Raise form_trigger_failure;
    end if;
    If :test.B = :test.A then
    Message('value already in list item A');
    Raise form_trigger_failure;
    end if;
    Now, for C same code with a addition of condition for B with OR operator like:
    If :test.C = :test.A or then :test.C = :test.B
    Like that.... you can achive your functionality.
    But one restriction is that user has to enter values in list item in a pre-defined order only....
    Hope that it would work for you.....

  • How to allow user to select multiple languages in ESO

    Hi Expert,
    I need your help on ESO languages capability.
    I need to allow end user to change language options like from english to chinese or from chinese to spanish. Now we have this option only tied to profile like user can select only one language in profile in "display langauge" option.
    Please help me how to do this in ESO as i am new to this application.
    Thanks much for your cooperation and help in advance.
    Regards,
    Gurvi.

    use transaction SE63 in order to translate the texts -> menu Translation / ABAP Objects / Short texts then choose OTR in tree
    to find object name, use the matchcode and specify the development class (or package) as collection
    SAP will display texts according to logon language of user

  • Lightroom Web Gallery which Allows Users to Select and Email Their Photo Choices

    Does this exist......
    A gallery option which allows users to click the photos they want, then easily email those photo numbers to a certain email address?
    Thanks!

    I found the error on another thread. You can likely search for the other thread by using "Web Gallery Restore".
    Apple support helped another user resolve the issue in 30 minutes on the phone. The problem is evidently due to the order in which I added the .Mac account to my iPhone vs. applying 1.01 update, vs. iLife 08 update.
    The solution was to Restore my iPhone and then select NEW SETTING (not previous backup settings). Then, I setup my .Mac email address on iPhone. Then publish a new WebGallery in iPhoto 08 and ensure upload privilege is checked. Finally, sync with the Mac which enabled the WebGallery button (yea!) and restored contacts, calendar and other email accounts.
    The only thing not retained was my wallpaper, usage statistics, and notes (none of these are a big deal).

  • How to allow user to select pdf file on local machine and populate field with file name only

    Folks,
    I have a project requirement that I am stumped on.  I am admittedly a novice, so forgive questions that may seem obvious.
    My requirement is a form running on a client system where the user can click a button and select a PDF file name from a PDF on their local machine and then populate a form field with that file path & filename.  The file names vary between all machines, so there is no static list.  Note that the PDF is not embedded, nothing is executed, I simply need the file name.
    There are several of these on a form (20+), so manual name entry is too error prone.   I would like to use a 'browse' type dialog, but can not figure out how to implement it.
    I've looked at app.browseForFile, but the users can not install a javascript file in their adobe folder or any other files;  the functionality has to be integral with the original PDF. 
    Functionally, this is no different from the image object file browse, except that I need a PDF instead of an image file, so there doesn't seem like there should be a security issue that is any different from those surrounding the image object.
    I've been stumped on this for the entire week, and I have a deadline rapidly approaching, so any examples or suggestions (please remember I'm a novice) would be greatly appreciated! 

    Thanks for the reply Paul - do you have any sample code of how to attach the PDF?  Or how the user can select a PDF to open?  I might be able to attach it, retrieve the file name, and then un-attach it.
    Alternatively, do you know how to retrieve the file name from the imagePath object?  It will let you select PDF files, but I can't find info on how to retrieve the file name.   It should be the way you would retrieve the file name for an image.
    As a novice in this, thanks for your help and patience!

  • Allow user to select up to 5 answers and enter a ranking

    Hello,
    I ahve a multi page form created with LiveCycle 10.0.2.201. On one page, there is a grid of goals presented to the user. There are 33 of these goals in 3 columns of 11.
    Here is a link to an image of the grid. (For some reason I cannot get the image to upload to this posting)
    http://i.imgur.com/TYM3JVY.jpg
    What I want to have happen is for the user to select up to 5 goals and those selections show the order of importance from 1 to 5.
    Any thoughts on how to accomplish this?
    Thanks!
    Joe
    ***Added: I suppose it would be necessary for some sort of warning to pop up if the user selected a) more than 5 and b) if they had made a selection twice.

    Try the LCD forum.

  • Allow users to select Fields that the resulting report would be sorted on

    Is it possible to make available to the users some specific fields from the database that they would be allowed to select themselves which fields they would like the resulting report sorted upon?

    The suggestion that was provided seems to have worked.  But right now I have a situation where I would like to give the users the option to select the desired sort order from 6 different fields.
    Invoice Date
    Due Date
    TransDate
    PO Num
    Invoice No
    Status.
    Right now I have a Sort Parameter created
    Then I also have a Sort Formula generated as follows.
    If {?SortField} = "DueDate" Then {APMASTER.DUE_DATE}
    Else
         If {?SortField} = "TransDate" Then {APMASTER.TRANS_DT}
         Else
              if{?SortField} = "InvDate" Then {APMASTER.INVDATE}
    as soon as I attempt to add another line to this formular that would be for the Invoice No as shown below.
    Else
                 if{?SortField} = "InvNo" Then {APMASTER.INVNO}
    I keep receiving a "A date-Time is required here"  I am assuming it must be because CR is not allowing me to create a formula and/or parameter that is using a mixture of Date and Text fields. 
    If you have any suggestion for a work around, it would be appreciated.

  • Allow user to select data, see the tables list but not view the table/view/stored procs definition

    Hi,
    May I know how to achieve the above ? Please enlighten me.
    TIA !

    So you want users to be able to see the name of the table, but not the definition? I am afraid that this is not possible. You can give users access to a table and hide the definition, but the name is considered part of the definition.
    Olaf mentioned VIEW DEFINITION. What he did not say is that when you have SELECT permission (or EXECUTE permission on a stored procedure), the permission VIEW DEFINITION is implied by the stronger permission. For this reason you need to explicitly DENY this
    permission as shown in the script below.
    In the script I create a user without a login and then impersonate a user. This is an excellent way to test permissions.
    [sql]
    CREATE TABLE tabbe (a int NOT NULL)
    go
    CREATE USER usse WITHOUT LOGIN
    go
    GRANT SELECT ON tabbe TO usse
    DENY VIEW DEFINITION ON tabbe TO usse
    go
    EXECUTE AS USER = 'usse'
    go
    SELECT * FROM tabbe
    go
    SELECT name FROM sys.objects WHERE type = 'U'
    EXEC sp_help tabbe
    go
    REVERT
    go
    DROP USER usse
    DROP TABLE tabbe
    {/sql]
    Note: rather than denying VIEW DEFINITION on an individual object you can leave out "ON tabbe" to deny the permission across the database.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Multiple drop down lists that allow users to select 3 unique choices from a list of options

    Lawanna Wice - 2:18pm Mar 15, 05 PST (#1 of 1)
    I'm creating a form from scratch in Adobe Designer. Well, the problem I'm having is I'm trying to create dropdowns in my form and I need three dropdowns with the same information but I would like to only select three of the items from each dropdown but I'm not sure what I need to do. I hope you'll understand.
    Ex: Directions: Please select your 1st, 2nd and 3rd peference from the listing but do not select the same perference, it has to be different.
    1st Preference: RCC, UPPP, AAA and TO
    2nd Preference: RCC, UPPP, AAA and TO
    3rd Preference: RCC, UPPP, AAA and TO
    The object is for them to select only three but not the same for each prefence but how can I create it in the form.

    Lawanna,
    Here is an example that is similar to what you are looking for.
    Click here to see it

  • Allow user to select default sound device.

    Currently Spotify defaults to using the default sound device under windows when launched, it would be neat if you could choose which sound device you want to use isntead in the options screen, Thanks

    I really need this feature. I use multiple soundcards to split outputs into different sets. For example. I do not want Spotify to playback using my headphones but my speakers while I play a game or anything else for that matter. I also tend to Stream some of my games and don't want Spotify to be recorded- This is the whole reason I had to set up another soundcard by the way.
    Please, just add this small but essencial feature like any other Audio related product.

  • No "Allow users to select new root certification authorities (CAs) to trust" option in GPO

    Hello,
    We have a Windows 2008 R2 standard server, which is the domain controller
    I copied a policy and wanted to clear unneeded properties in that newly copied policy.  There are few properties below "Computer Configuration\Policies\Windows Settings\Security Settings\Public Key Policies/Trusted Root Certification Authorities"
    that are shown in Group Policy Object Settings, but not in GP Editor!  Maybe it is a property coming from our old 2003 domain controller, as I saw in a technet page that those properties were available in 2003 active directory policies.
    How can I remove those properties from the policy?
    Thanks, Dominic

    Hi Dominic,
    Based on your description, we can check the scenario 1 and scenario 2 described in the following hotfix, and we can install the hotfix if one of these two scenarios
    represents our situation.
    The "Trusted Root Certification Authorities" setting cannot be removed from a GPO in Windows 7 or Windows Server 2008 R2
    http://support.microsoft.com/kb/2842986/en-us
    Hope it helps.
    Best regards,
    Frank Shen

  • How to prompt user to select multiple files in file dialog using scripts

    Hi, is there a way to allow user to select multiple files inside the file dialog using scripts? So not just something like "*.ai" or "*.eps" but where the user can actually use their shift key to select a batch of files inside the file dialog and then the script would process each one.
    Thanks!

    // Main Code [Execution of script begins here]
    here's what I have so far. it would also be nice to not have illustrator stop at errors.. right now, it skips dialogs but on errors, it still stops.
    // uncomment to suppress Illustrator warning dialogs
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts, folderName;
    var fullPath = "";
    var finalSlash;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
    f = find_files(sourceFolder);
    function find_files (dir)
        return find_files_sub (dir, []);
    function find_files_sub (dir, array)
        var f = Folder (dir).getFiles ("*.*");
        for (var i = 0; i < f.length; i++)
            if (f[i] instanceof Folder)
                find_files_sub (f[i], array);
            else
                if (f[i].name.slice (-3).toLowerCase() == ".ai"          || f[i].name.slice (-4).toLowerCase() == ".eps")
                        //convert the array-listing to a string so we can manipulate it
                        fullPath = String(f[i]);
                        //find the position of the last / to indicate where the filename starts
                        finalSlash = fullPath.lastIndexOf("/");
                        //get the foldername by "slicing" from start to where finalSlash is located
                        folderName = fullPath.slice(0, finalSlash).toLowerCase();                   
                        sourceDoc = app.open(f[i]); // returns the document object
                        // Call function getNewName to get the name and file to save the pdf          
                                                      targetFile_PNG = getNewName(".png");
                                                      if(targetFile_PNG.exists) {
                                                      } else {
                                                                pngExportOpts = getPNGOptions();
                                                                sourceDoc.exportFile(targetFile_PNG, ExportType.PNG24, pngExportOpts );
                        targetFile_PDF = getNewName(".pdf");
                        pdfSaveOpts = getPDFOptions();
                                                      sourceDoc.saveAs(targetFile_PDF, pdfSaveOpts );
                                                      targetFile_SVG = getNewName(".svg");
                                                      svgSaveOpts = getSVGOptions();
                                                      sourceDoc.exportFile(targetFile_SVG, ExportType.SVG, svgSaveOpts );
                        sourceDoc.close();
                        array.push (f[i]);
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName(ext)
        var ext, docName, newName, saveInFile, docName, finalDot
        var loop = 0;
        docName = sourceDoc.name;
        ext = ext; // new extension for pdf file
        newName = "";
        finalDot = sourceDoc.name.lastIndexOf(".");
        while(loop < finalDot)
            newName += docName[loop];
            loop = loop + 1;
        newName += ext; // full pdf name of the file
              newName = newName.replace(" [Converted]","");
        // Create a file object to save the pdf
        saveInFile = new File( folderName + '/' + newName );
        return saveInFile;
    getPDFOptions: Function to set the PDF saving options of the
    files using the PDFSaveOptions object.
    function getPDFOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pdfSaveOpts = new PDFSaveOptions();
        // Setting PDFSaveOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pdfSaveOpts.acrobatLayers = false;
        pdfSaveOpts.colorBars = false;
        pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
        pdfSaveOpts.compressArt = true; //default
        pdfSaveOpts.embedICCProfile = false;
        pdfSaveOpts.enablePlainText = false;
        pdfSaveOpts.generateThumbnails = false; // default
        pdfSaveOpts.optimization = true;
        pdfSaveOpts.pageInformation = false;
        pdfSaveOpts.preserveEditability = true;
        return pdfSaveOpts;
    function getSVGOptions()
              var svgSaveOpts = new ExportOptionsSVG();
              //just using defaults aside from what's written below
      //see http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/references/csawlib/com/adobe/illustrator/ ExportOptionsSVG.html
      svgSaveOpts.embedRasterImages = true;
      svgSaveOpts.sVGTextOnPath = true;
              return svgSaveOpts;
    function getPNGOptions()
              // Create the PDFSaveOptions object to set the PDF options
              var pngExportOpts = new ExportOptionsPNG24();
              // Setting PNGExportOptions properties. Please see the JavaScript Reference
              // for a description of these properties.
              // Add more properties here if you like
              pngExportOpts.antiAliasing = true;
              pngExportOpts.artBoardClipping = false;
              pngExportOpts.horizontalScale = 100; // scaling to 350%
              pngExportOpts.saveAsHTML = false;
              pngExportOpts.transparency = true;
              pngExportOpts.verticalScale = 100; // scaling to 350%
              return pngExportOpts;

  • How to allow user to enter multiple values?

    Hi, can someone tell me how I can allow user to select multiple values from a selection screen. To be more clear, I have to display 4 values on the selection screen and want to allow user to select 2 or 3 values from it. It will be very helpful if someone could tell me how to do it.
    Thanks in advance,
    pushpa

    hi mahesh,
    pls c the code below. this is what i have written in my program. when i run this program it is showing only one value and that too only the first one '1234'. i want that it display all the values that i gave in the initialization part.
    please help.
    thanks,
    pushpa
    SELECTION-SCREEN BEGIN OF BLOCK enter_data WITH FRAME TITLE text-001.
    SELECT-OPTIONS skunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF BLOCK enter_data.
    INITIALIZATION.
    skunnr-low = '1234'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '9824'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '8756'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '6534'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.

Maybe you are looking for