Keeping track of rows already selected

Hi.  I'm somewhat a T-SQL noob.  The answer to my question may be obvious, but I just want to see if I have any options.  I need to scan a table for rows where a column contains a certain value, and then send an email
to notify users of the resultset.  I'll run that scan say hourly. The table I'm scanning is in a vendor-owned database that I can't modify.  So I guess I need to keep track of previously selected rows so I don't keep notifying
users of the same resultset, and store those in a persistent table in a separate utility database.  Right so far?  Thanks for helping me get started.

Ok, so what you'll want to do then is just select rows that have been edited in the last hour:
SELECT *
FROM myTable
WHERE last_updated_on >= DATEADD(HOUR,-1,CURRENT_TIMESTAMP)
And you'll only get the rows that have been updated in the last hour :)
Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

Similar Messages

  • ADF Treetable row already selected?

    How can I check if a row in the tree table is already clicked/selected?

    1) create a binding for treetable in the managed bean
    2) you could check if a row is selected or not - by checking the following:
    treetable.getSelectedRowKeys()This returns RowKeySet containing all the selected rows in the treetable.
    Thanks,
    Navaneeth

  • Hang man game - keeping track of already chosen letters

    hello all,
    I'm making a hang man game and having trouble with the solution to keep track of letters already chosen.
    I have a string array where I store all the words.
    Example:
    String[] WordList = {"Snow White", "Johnny Carson", "John Coltrane" };
    In my method to initialize a new game. I divide multi-word Strings and place them into a Vector - where each String Object becomes an element of another vector.
    Example : - this is the end result - the algorithm to produce this is different. But this is the end result of randomly choosing the word snow white. This is how i'm storing the info.
    Vector selections = new Vector(2);
    selections.add(new String("Snow"));
    selections.add(new String("White"));
    Vector currentPuzzle = new Vector(selections);
    This allows me to position the place holders respect to word groupings.
    But i'm a little stuck on how to keep track of which letter was already chosen and should be displayed each time draw is presented ?
    any ideas ?
    stephen

    hi!
    if i understand what you need than my answer is very simple(im almost sure you ment something else):
    a simple char array:
    char [26] letters;//(0-a , 26-z)
    and just mark in each chosen letter by the number 1.

  • Keep track of reference of a row added to Jtable

    Hello All,
    I need to keep track of reference of a row which is being added in JTable.
    Let suppose that I adds a row in JTable based on an object (instantiated of a class say FileUploader class). Now I adds a row whenever FileUploader class is being instantiated. The FileUploader Class is responsible to upload a file.
    1) Now suppose that there are 100 rows (of course based on 100 object of FileUploader class).
    2) User can remove single or multiple row (by means of cancel the process of upload or clear the row in the JTable for which file has successfully uploaded).
    3) I need to update a particular cell of JTable based on the status of a particular object of class FileUploader.
    One way of doing this is by using for loop on whole table to find out the corresponding row (based on some key taken from table). But this will make the application very slow.
    So, to do this, I need to have the reference of the row when it is being added in the JTable.
    How can I make it working? Please suggest.
    Thank you

    You are right that iterating over 100 times is not slow. But what will happen if there are 10000 rows.
    I am new to JTable. In my application, when user drag and drop some files / folder, a row is being added in the JTable to show the status of process (pending, ProgressBar, Completed or Error in one cell based on the current status of file / folder ) along with some more info in other cell ( like fileName, FromDir, ToDir, Size, and a hyperlink type text for action - clear, cancel, retry).
    Now FileUploader is an class which is responsible for uploading (it has a method upload() in it which is called by a daemon thread).
    So to update a particular cell (in which pending / ProgressBar/ etc is shown), I need to find the particular row which is showing the status of a file / folder.
    How can I do it (without iterating over these no. of times again and again).
    Is there any better approach to do this.

  • Utility to keep track of what files a selected application accesses?

    Hi there!
    I’m hoping to find a troubleshooting utility (or maybe set of command line instructions?) that I’ve not yet run across ...
    Basically, it would allow me to +log or track what files a selected application accesses on disk+ (and perhaps when each access occurs (date/time), whether read/write, etc.).
    Seems to me it could be very useful to have.
    Has anyone run across anything like this?
    Many thanks!

    Nevermind I found it. turns out I needed to add a "title" to that selectedCell

  • HT204053 how do i keep track of my stolen iphones location?

    I useed the find my phone app and was able to locate my iphone yesterday. I made it make a noise, put it in lost mode and then i erased. I recieved four mails  want toiApple giving me proof of what I had already sone to my iphone but I wanted to keep track of my phone and I  dont know how  or where to start again. Please help...

    Once you selected ERASE, you eliminated the ability to track the device.  Sorry.

  • Best way to keep track of family members, etc

    Hi-
    I am a hobby photographer, and have been playing around with the trial version Aperture to replace iPhoto, and I have some questions.
    1. What is the best way to keep track of family members? For example, I like to basically keep track by setting keywords, adding a keyword for each family member & dog. Is this still the way to do it in aperture, or is there a different solution?
    2. If keywords are still the way, what is the fastest way to do this (in particular for multiple files at a time)? The various keyword buttons & shortcuts seem to only apply to one image at a time, whereas the batchchange option seems to only rely on freeform text-- which makes it likely that somewhere along the line I will get a typo.
    Thanks,
    -jamie

    You can apply a keyword to multiple images by selecting a group of images and dropping a keyword from the keyword HUD onto one of the selected images.
    I created keywords in the keyword HUD for family members, events (Christmas, Birthday, Vacation etc.), and some other things. Keywords you have already typed into an image will be in the keyword HUD already. I created a hierarchy of keywords such as:
    People
    -Family
    --(names)
    -Friends
    --(names)
    Events
    -Holidays
    --Christmas
    --Halloween
    Sorry for the dashes to show the indentations. I tried spaces but they didn't work for some reason.
    Message was edited by: Badunit

  • LR workflow for keeping track of copyright submissions?

    Instead of reinventing the wheel, I thought I'd ask here first.
    I have around 8,000 images in a smart collection of photos taken between Jan 1, 2010 and March 31, 2010. I've added my copyright info into the metadata and am in the process of exporting a 700px image of each image to a 1st_qtr2010_copyright folder on my hard drive before submitting them.
    I am considering adding these phrases to the Keywords into the original raw images: "copyrighted" and "submitted April 16, 2010". In the future, I should be able to search for all "copyrighted" images or a refinded search for any "submitted..." group. And when the certificate is returned for the images, I'd add one more keyword like "© completed July 20, 2010" and/or the copyright document number.
    I guess the target is to figure out how to keep track of the images already submitted, the ones officially copyrighted, and any images still needing the copyright submissions.(images that do not contain "copyrighted")
    If anyone here has a tried and tested method or workflow using Lightroom, I'd love to hear them before I go any further.
    Thanks in advance,
    M. Jackson

    Sean and Jao,
    I found the tick box now.
    I create a Keyword Set called something like "Private Keywords" and inclued the keyword "copyrighted" (with the boxes unchecked). I select one or more images, then click the copyrighted keyword in the list? I think I got it. I then add additional Private Keywords to my set and use them as needed. Right?
    Going back to my original question, I am looking for help with a workflow suggestion to help keep track of submissions to the copyright office. I see the option in LR to assign either Unknown, Copyrighted, or Public Domain in the Metadata. So, I import them into LR as unknown until I prepare the jpgs for uploading, at which point, I change all of the original RAW images to Copyrighted. At the point of uploading and payment, the images are copyrighted for most purposes, but there is still the final step of getting the certificate from the copyright office a few months later. I'd like to find all the ones submitted in that group and assign a new Private Keyword that associates the registration number and maybe date with the photos in that group.
    Unless I am missing more features in LR, assigning appropriate keywords would be necessary to keep track of the whole process. Keeping some of them private makes a lot of sense. If I were to run a copyright batch every few weeks, it would be easy to visualize eight or nine "in progress" copyright submission groups waiting for the final certificates.
    Any additional advice would be appreciated.
    M. Jackson

  • Keeping track of checkmarks

    I am using Numbers '09 to keep track of customer interactions, each interaction is a row, and using a column of checkmarks that I check only in the event that further work on an account is required at a later time. Each sheet contains a table for each day of the month, and so they can get rather long to wade through looking for forgotten checkmarks. I was wanting to know if there is a way to keep a table at the top of my sheets which would span the entire sheet and ONLY display rows with a checkmark next to them, and so once the checkmark is removed it disappears from this particular table. Possible? Make sense?

    you can use the reorganize panel to filter based on the checkboxes:
    Set up but NOT filtering
    Set up AND filtering:
    You can simplify the set up by adding a single column that determines whether aby checkboaxes are cheked like:
    F2=COUNTIF(B2:E2, "=TRUE")
    select F2 and fill down, then use this as your filter column.  You can even hide the column if you want

  • How to keep track of all the classes/methods/properties created in a long script

    Hi,
    I'm curious to know what method people use to keep track of all the classes, methods, and properties you've created when writing a longer script.
    For quick scripts, this isn't a problem. But for long scripts it can get quite difficult to keep track of all the objects one has created, and all their methods and properties, and overloaded constructors, etc.
    ESTK is great, and it's the IDE I use for InDesign scripting, if only because of it's powerful debugging options.
    But it doesn't provide any way of keeping track of this stuff. No proper Intellisense as in Visual Studio.
    I'd be interested to hear how people solve this issue.

    Hi Ariel,
    Not sure it is relevant to your question but I have an old snippet that collects and displays ExtendScript references using $.list(). This may help to track some object relationships.
    // WARNING: this is just a WIP -- Not tested in all platforms and versions
    $.scanRefs = function scanRefs(/*0|1*/showAll)
        var s = $.list(),
            p = (!showAll) && s.indexOf('[toplevel]'),
            a = ((!showAll) ? s.substr(0,10+p) : s).split(/[\r\n]+/),
            n = a.length,
            // --- Address:1     L:2  Rf:3   Pp:4  Type:5  Name:6
            re = /^([0-9a-z]{8}) (.) +(\d+) +(\d+) (.{10}) (.{1,17})/,
            reTrim = / +$/,
            i, t, k, m,
            refBy, type, name, tag, rest, rfCount, props, j,
            o = {},
            TYPES = {'Function':"FCT", 'Object':"OBJ", 'Array':"ARR", 'RegExp':"REG"};
        for( i=2, refBy=0 ; i < n ; ++i )
            s=a[i];
            while( s && m=s.match(re) )
                k = '&'+m[1].toUpperCase();
                rfCount = parseInt(m[4],10);
                rest = s.substr(m[0].length);
                type = m[5].replace(reTrim,'');
                name = m[6].replace(reTrim,'');
                if( 0x5B==rest.charCodeAt(0) )
                    p = rest.indexOf(']');
                    tag = rest.substr(0,1+p);
                    rest = rest.substr(1+p);
                else
                    tag = '';
                if( 0x20==rest.charCodeAt(0) )
                    rest=rest.substr(1);
                if( p=!(rest.indexOf("referenced by:")) )
                    rest = rest.substr(14);
                o[k] || (o[k] = {
                    locked:        +('L'==m[2]),
                    rfCount:    parseInt(m[3],10),
                    ppCount:    rfCount,
                    type:        TYPES[type]||type,
                    name:        name,
                    tag:        tag,
                    from:        [],
                    order:        -1,
                if( 0 < refBy )
                    if( p || !rest ){ throw "Unable to parse references." }
                    props = rest.split(' ');
                    refBy -= (j=props.length);
                    while( j-- ) t.from.push([k,props[j]]);
                    (props.length=0)||(props=null);
                    rest = '';
                else
                    refBy = rfCount;
                    if( p != !!refBy )
                        if( p ){ throw "Unable to parse references."; }
                        refBy = 0;
                    (t = o[k]).order = n - i;
                (m.length=0)||(m=null);
                s = rest;
        a.length=i=0;
        for( k in o )
            if( !o.hasOwnProperty(k) ) continue;
            a[i++] = k;
        a.sort( function(x,y){return o[x].order-o[y].order;} );
        //a.sort( function(x,y){return parseInt(x.substr(1),16)-parseInt(y.substr(1),16);} );
        var u,
            pngLock = "\x89PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x0E\x00\x00\x00\x0E\b\x06\x00\x00\x00\x1FH-\xD1\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\x9A\x9C\x18\x00\x00\x01VIDAT(\xCF\xA5\x91\xB1j\xC2P\x14\x86\x93\xD6\x94\x98\xA4\xB5\xA5\x85\x0E-R\xAF\xA5\xB8\xF4\x1D\xAA\xEF\x10_B\x9C\xDD\x0B]\xA4o`C\xE9$B\x1C\xCD\x10\x10C6\x05q\td\xA9%\x83d2\x83O\xF0\xF7\xDCp#i\xB5\x1D\xDA\xC0\xC7\xB97\xE7|\xF7\xDC\xCB\x91\x00H\x7FA\xFA\xB7\x98\xFF\xAA\xD5\xEA\x0B\x855\xC1\x13k\xDA\xBF\xEA\x9A\xA6\x9C\x18\xC6\xC1\xB6\xE8\xBBHE\x16\x85w\xC6\xD8\xE3\x91\xA2\xDCQ|\xA2\xFD\x07\xC57\xADXT\x8B\xAAz\xB8#\x8A\x13\xD7\xBC\xD8\xD0\xB4kC\xD7\x19q\xCB*\x95g\xFA\x9FP\xD7\x0B\x8A\n!oE.\xB5Z-\xEC\xA3\xD9l\xA2\xFEP\x07\x1D\xC8;\x18D!/\x16x\x91\xEF\xFBX.\x97\xD8l6H\x92$]O\xA7S\x8CF#\x887\x9F\x13j^T\xB9\xD8\xE9t0\x99L\x10\xC71V\xAB\x15\x82 \xC0\xD0\x1E\xA2\xDDng\xE2\x15q\x9C\x175.:\x8E\x83\xC5b\x81(\x8A \xCB2\xE6\xF39\\\u00D7E\xBF\xDF\xCF\xC4\x1B\xE24/\x1A\\\u00ECv\xBB\xF0<\x0Fa\x18\xA2\xD1h`<\x1E\xC3\xB2,\x98\xA6\x99\x89\x8C8\xDB\x11\x07\x83AzU\xDEu6\x9B\xA5\xA2m\xDB\xE8\xF5z?\x8B4\xC3,\xF9\x1B_E1\x9F\x12Q&j\xC4\xFD\x1Ej\"_\xCA\x8B\x051\xA3K\x91d{(\x8B\xBC\xFE\t\xC1TI!\xE3L\x03\x7F\x00\x00\x00\x00IEND\xAEB`\x82",
            pngNop = "\x89PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x0E\x00\x00\x00\x0E\b\x03\x00\x00\x00(\x96\xDD\xE3\x00\x00\x00\x03PLTE\x00\x00\x00\xA7z=\xDA\x00\x00\x00\x01tRNS\x00@\xE6\xD8f\x00\x00\x00\x15IDATx\xDA\xDD\xC1\x01\x01\x00\x00\x00\x80\x90\xFE\xAF\xF6#\xDA\x01\x00\xD2\x00\x01\xCC \x10\x14\x00\x00\x00\x00IEND\xAEB`\x82",
            w = new Window('dialog', " ExtendScript Memory"),
            p1 = w.add('panel', u, "References"),
            lRefs = p1.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Address", "Type", "Name", "Refs"],
                columnWidths: [90,60,120,36],
            g = w.add('group'),
            pFrom = g.add('panel', u, "From"),
            lFrom = pFrom.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Address", "Type", "Name", "Property"],
                columnWidths: [90,60,120, 120],
            pTo = g.add('panel', u, "To"),
            lTo = pTo.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Property", "Address", "Type", "Name"],
                columnWidths: [120,90,60, 120],
        g.orientation = 'column';
        w.orientation = 'row';
        w.alignChildren = ['left','top'];
        lRefs.maximumSize = lRefs.minimumSize = [330,450];
        lFrom.maximumSize = lFrom.minimumSize = [420,120];
        lTo.maximumSize = lTo.minimumSize = [420,220];
        lRefs.onChange = function()
            lFrom.removeAll();
            lTo.removeAll();
            lFrom.parent.text = "From";
            lTo.parent.text = "To";
            if( !this.selection ) return;
            var key = '&'+this.selection.text,
                t = o[key],
                from = t.from,
                i = from.length,
                k;
            lFrom.parent.text = "["+key.substr(1)+"] is reachable from " + t.ppCount + (1<t.ppCount ? " properties" : " property");
            if( t.ppCount && !i )
                with( lFrom.add('item', '--------') )
                    image = pngNop;
                    subItems[0].text = '';
                    subItems[1].text = '<UNKNOWN REFERRER>';
                    subItems[2].text = '';
            while( i-- )
                k = from[i][0];
                t = o[k];
                with( lFrom.add('item', k.substr(1)) )
                    image = t.locked ? pngLock : pngNop;
                    subItems[0].text = t.type;
                    subItems[1].text = t.name + ' ' + t.tag;
                    subItems[2].text = from[i][1];
            for( k in o )
                if( !o.hasOwnProperty(k) ) continue;
                t = o[k];
                from = o[k].from;
                i = from.length;
                while( i-- )
                    if( from[i][0]!=key ) continue;
                    with( lTo.add('item', from[i][1]) )
                        image = pngNop;
                        subItems[0].text = k.substr(1);
                        subItems[1].text = t.type;
                        subItems[2].text = t.name + ' ' + t.tag;
            lTo.parent.text = "["+key.substr(1)+"]'s properties had access to " + lTo.items.length + " addr.";
            from = t = null;
        for( i=0, n=a.length ; i < n ; ++i )
            t = o[k=a[i]];
            with( lRefs.add('item', k.substr(1)) )
                image = t.locked ? pngLock : pngNop;
                subItems[0].text = t.type;
                subItems[1].text = t.name + ' ' + t.tag;
                subItems[2].text = t.ppCount + '/' + t.rfCount;
        w.show ();
    // TEST
    var t;
    var f = function MyFunc()
        (function MyInnerFunc(){})();
    $.scanRefs(1);
    @+
    Marc

  • Need help with spreadsheet to keep track of personal spending.

    I am trying to make a spreadsheet where I can enter what I spend at the end of each day, so I can keep track of where my money goes. I probably would have a separate spreadsheet for each month. I have a series of categories (groceries, booze, gas, movies, restaurants, etc.) I would like to be able to add a little description to each number to be even more specific than just what the category is (restaruant name, utlity name, etc). That way I can keep my categories a little less specific and have less of them. I notice that when I just add text after the number in a cell, that cell's numeric value is no longer calculated in the "TOTALS" for each column.
    Is there a way to attach a text description to each numeric entry and still have the numeric value be calculated in formulas? If not, is there a way to attach a text description to each cell that is not in the cell itself? Like you click on a cell and a separate description window pops up or something? Or I am open to other suggestions if someone has made a similar spreadsheet for the purpose of tracking person spending.
    Thanks for any advice,
    Keith

    Hi Keith,
    You could make a table with a simpler appearance by modeling it on the checking register. Other than editing the pop-up menus to contain your categories, you'd need only two or three simple changes.
    The Transactions table in this template has six columns, A through F. All formulas in this table are in column F, and calculate the running balance shown for each row.
    But you want only a total for each category, not a running balance. You don't need this column, or its formulas.
    Click on any cell to show the column reference tabs.
    Click on the tab for column F to select that column.
    Go to the Table menu and choose Delete Column.
    Column A of this table contains information regarding the means of payment for each transaction. If you want to record this, keep the column, if not, delete it, as was done with Column F. To delete this column, you'll first have to undo the merge of cells A1 and B1, using the Table Inspector, or delete Row 1 in the same manner as column F was deleted. (Note that cell row references below assume Row 1 has NOT been deleted.)
    Column C contains a set of pop-up menus containing the categories used for transactions. Except for "Deposit" (which you're not intending to include) and "Credit Card" (which is more a payment method than an expense category), these may be the general categories you are looking for. If not, you'll need to edit them, using the Cell Inspector. Click on cell C3, open the Inspector, and choose the Cell button ( 42 ) to open the editor.
    I would edit Deposit, replacing it with a single space (as close to 'blank' as you can get using the Inspector) to use as the default setting for rows with no entries as yet. To do the edit, double click on "Deposit" in the list in the Inspector to select the whole word. Press the space bar once to replace the word with a single space.
    Edit the other categories to fit your needs, using the same method.
    To add a new category to the end of the list, click the + button. To completely remove a category, click on that category, then click the - button.
    When you have the category menu list set to include all your categories, set the menu in C3 to the 'blank' item, then put the mouse pointer on the Fill handle (the small circle at the bottom right corner of the Selection rectangle marking the selected cell (C3). When the pointer changes to a black + sign, press the mouse button and drag down to the bottom of column C. (as you do this, you will notice the amounts in the Account Categories table change and the pie chart adjust to those changes.Here's the template after deleting columns F and A of the Transactions table, deleting the "Beginning Balance label from what's now D1, and editing the pop-up menu cells to replace Deposit with a space, Credit Card with XXX, and add a new category, Travel.
    Note that I have moved the category column to the left of the description column. Not a necessary move, but one that makes sense to me. To make the move:
    Select any cell to show the column and row reference tabs.
    Click the reference tab for column C (Categories) to select the column.
    Click again and drag the column down and left. When a thick blue line appears between columns A and B, release the mouse button to drop the column into its new location. Numbers will adjust the formulas in Account categories to match the new position of the Category column.
    I've also replaced Credit Card in the Account Categories table with XXX, but have not yet added the new Travel category.
    To add that category to both the table and the pie chart, select the Food, Gas, or XXX cell, then press option-down arrow to add a new row below that cell. Type travel in the new column A cell, making sure that you spell it exactly as is spelled in the pop-up menus. When you confirm that entry, the total for travel will be immediately calculated in the column B cell, and its wedge will appear on the pie chart, and in the legend for that chart:
    At this point you might want to change the names of the two tables and the chart. This is done by double clicking the name of each item in the Sheets list, and typing in the new name. The names will automatically update above the tables and chart in the document.
    Once your table and chart are working, you're ready to delete the dummy data from the Date, Description and Amount columns, and to set the Category pop-ups to the 'blank' entry. When you've done that, Save your file as a Template.
    Open a new document from the template each month to record that month's expenses. If you need more rows for transactions, click on any cell to show the row control handle at the bottom left of the table. Drag the handle downward to add new rows to the table. The pop-up cells in the Category column will automatically fill into the new rows, and the formulas in the Account categories table will adjust to include the new rows.
    Regards,
    Barry

  • How to track modified rows in ALV list

    I need to keep track of all the rows in the ALV list that the users have modified.  When the user selects SAVE, I need to read the modified rows and save the changes to the database.  I thought I could use mp_mod_rows but I cannot get the syntax and the variable declarations correct. 
    Thanks.
    Sandy

    Hi,
    R u using FM or.............
    If u r using FM look at my example.....
    data: LC_GLAY TYPE LVC_S_GLAY.
    LC_GLAY-EDT_CLL_CB = 'X'.<<<<<------
    gt_layout-zebra = 'X'.
    gt_layout-detail_popup = 'X'.
    gt_layout-colwidth_optimize = 'X'.
    ITAB1[] = ITAB[].<<<<<-----make a copy of ITAB for further comparision.
    call function 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = i_repid
    i_callback_user_command = 'USER_COMMAND1'
    it_fieldcat = header
    is_layout = gt_layout
    i_callback_top_of_page = 'TOP-OF-PAGE1'
    i_grid_title = text-h17
    it_sort = gt_sort[]
    i_default = 'X'
    i_save = 'U'
    is_variant = gt_variant
    it_events = gt_events
    I_GRID_SETTINGS = LC_GLAY<<<<<<------
    TABLES
    t_outtab = itab.
    clear itab.
    Form USER_COMMAND1
    FORM USER_COMMAND1 USING u_ucomm LIKE sy-ucomm
    us_selfield TYPE slis_selfield."#EC CALLED
    case u_ucomm.
    when '&DATA_SAVE'.<<<<<<<<----
    This will come after the data was EDITTED and when SAVE was clicked by user in output scren.
    Here now in the final internal table(ITAB) you can find the data changed in EDIT mode.
    After this you can do manipulation what ever you want.
    Thanks.
    If this helps you reward with points.

  • BPC : Keeping track of previous entries and nullify them

    Hi,
      i have a situation, assuming i have entered a value of 10 for account(sales1), entity(asia), category(budget). then i realized i have made a mistake, and that the value 10 is for account(sales2), entity(asia), category(budget).
      By doing things the normal way, there are 2 data created in the database. But is there a feature within BPC that allows me to keep track of the first entry that i have done, so that i can nullify (or zerorize) the entry?
      This is assuming account(sales1) and account(sales2) fall under different parents, and that my input schedule is a single row input schedule (i.e. not your typical large input schedules where you can cover a lot of different dimension members)
      thanks in advance for any feedback possible.
    cheers

    The best tool in BPC to review the inputs is the Audit functionality.  If you have this enabled and have the appropriate security, you would be able run a report to see the input value and string, who entered the data. From this information you would be able to resend a nulling amount to the DB and resend the original amount.
    The only other options, which are requested frequently are for validations.  The NW version allows you to build the validations into the back-up to test for conditions prior to sending.  In the MS version, the validations are accounts in the application account dimension, or it could be (this is not easy) an additional application that allows for only valid combinations, defined by someone, to be available in input and report frameworks using evdre and suppression. Hopefully to limit your chances of selecting a bad account.
    But unless the Audit functionality is invoked for each category, and Office functions, I am afraid you will not have any tracking mechinism.
    Hope this helps.

  • Keeping track of anyone who made a deletion from a table

    Dear all;
    I thought this was going to be easy but I am yet to think of a solution to this problem. I have the following table created
    create table test_tbl
       test_id varchar2(10) not null,
       test_modifiedby varchar2(30),
       test_result number(10),
       primary key(test_id)
    );with the following insert
    insert into test_tbl
      (test_id, test_modifiedby, test_result)
    values
      ('122', 'John', 4);
    insert into test_tbl
      (test_id, test_modifiedby, test_result)
    values
      ('123', 'Jamie', 6);
    insert into test_tbl
      (test_id, test_modifiedby, test_result)
    values
      ('124', 'Katy', 8);
    insert into test_tbl
      (test_id, test_modifiedby, test_result)
    values
      ('125', 'Eric', 10);I am trying to write a simple procedure which is used for deletion and also I would like to be able to keep track on and the save the user who made the deletion and that is where I am having problems. I need to keep track on who made the deletion because I have a trigger which is used to save all deleted test_id made. See trigger below
    CREATE OR REPLACE TRIGGER test_tbl_before_delete
    BEFORE DELETE ON test_tbl
    for each row
    begin
    insert into audit_test_tbl_table
        (test_id, test_modifiedby, test_result)
    values
       (:old.test_id,
        :old.test_modifiedby,
        :old.test_result
    end;Please how do I solve this problem. All help will be appreciated. Thank you.

    Unfortunately Rob, I wouldnt be able to do that because I am using a web development tool called Asp.net which is linked to our oracle database and from the web development tool, users are able to login into the application I am designing and based on their login creditials, they are able to carryout tasks like deletions, insertions, etc. Now I am able to get the user name and info directly from the web development and able to pass it into my deletion procedure. See procedure below
    procedure deletefromtest_tbl(delete_testid in varchar2, delete_modifieruser in varchar2)
      AS
    temp_cnt number;
    BEGIN
    select count(*) into temp_cnt from test_tbl td
    where td.test_id = delete_testid
    if(temp_cnt != 0) then
        delete test_tbl pk
        where pk.test_id = delete_testid
      commit;
        end if;
    end deletefromtest_tbl;From the procedure, I really don't know how to apply the delete_modifieruser (which contains the information of the user that perform the delete) so that information gets saved in the audit_test_tbl_table.

  • How do I keep track of how many times a method is called inside anthr clas?

    I am writing code for a program that solves a Knight's Tour. A Knight's Tour is a path a Knight Chess piece can take around the board starting at any spot, touching every square once, and only once. I have to write 2 classes and one is provided. The provided class is encrypted and written by our professor. All I know that it does is simulates the game using the two classes I write and provides a print out and prompts to ask the user which square they want to move to next.
    The square class I have to write consists of a constructor that makes a square object that keeps track of its color (white/black) and its status (whether it has been visited, is occupied by the knight, or is free and has not be visited).
    The GameBoard class I have to write is what I am having problems with. I am writing a method that determines how many squares have been visited. The previous mentioned class that my professor wrote for me contains a method moveKnight();. The way the program works is that every time moveKnight() is called a square's status is changed to occupied and therefore visited later. moveKnight() will only work if the move requested by the user is a valid move.
    SO! My main problem (sorry for all the explaining, just trying to give you all the information) is that I don't know how to keep track of how many times moveKnight() is called by the program. If i can figure this out it should be simple. I'm new to java but i believe...
    if(moveKnight() is called)
    {count++;} //count is a member variable already initialized
    return count;
    the moveKnight() is called section within the if() statement is what I am unclear how to do. Please help.
    Thanks, Veritas

    in your case you want 'count' to be a class attribute rather than a local variable. But yes, incrementing it each time that the method is called will serve your purpose.

Maybe you are looking for

  • How to install WebLogic 10.3.2 on RedHat 5 64-Bit withno JDK installed?

    Part of my OEM 11GR1 requirement is to install WebLogic 10.3.2. I have a server RedHat 5, I downloaded the Generic .jar file, which would require me a JDK. What is the JDK version I should use? 1.5 or 1.6? Where ot download such?

  • Error in ABAP Import Phase -  3 jobs failed

    Hi, My installation of ECC IDES has failed in ABAP Import phase. 3 jobs has failed. I figured out from the logs that there are 3 loads that has failed. Failed loads are SAPPOOL, SAP0000 and SAPSLEXC. The prominant error in them are as below. Please a

  • How to determine endpoint bandwith utilization

    Hi, I occasionally see large amounts of traffic saturating WAN links between a centrally located WLC and any one of several remote access points.  Most of the traffic on the remote APs is locally switched (flexconnect) but there are a couple of SSIDs

  • Calling stored procedure from JSP

    I call a stored procedure from a JSP, but I want to show a page which tells the user that the query is busy executing (it's a big one!) while the stored procedure is executing. I have a page where I select an option, which forwards the request to the

  • Nano got wet was working tried to upload new songs now wont work?

    My nano 6th generation got wet. i put in rice was working after that fine. recently tried to upload new music to it and now it wont work.Have tried several times to restore it. It turns on fine but touch screen dosent seem to work. i start to move it