How to hide certain rows of data?

I am creating a table where there is an option for the particular to be hidden. What do I do in HTMLDB to make that particular row to stay hidden "forever"?
Ex:
ID Name Hide
1 joe N
2 john N
Now after I edit the data of joe to Hide=Y I want the table to display:
ID Name Hide
2 john N
anyone know what statements i need to do? thanks

Views do not stop you from being able to update your data. You can use instead of triggers like others mentioned. However, if your view is simple enough, you can do updates, inserts and deletes directly against the view. For example, using your table above create the following view. This view allows inserts, updates and deletes.
CREATE VIEW TESTER_VIEW
(ID, NAME, HIDE)
AS
select "ID","NAME","HIDE"
from tester
where hide = 'N';
VPD stand for Virtual Private Database. It enables you to put row-level security on your data. Look at this white paper for a good introduction: http://otn.oracle.com/deploy/security/pdf/twp_security_db_securityoverview_10r1_1203.pdf

Similar Messages

  • Copy a certain row of data into the next row in a same internal table ??

    HI, guys.
    May i know how to copy a certain row of data into the next row in a same internal table ?? Bcz I plan to update a certain colum of data in the row just now into another value..
    For example:-
    *at first...
    ebeln1   ebelp1   xblnr1
    ebeln2   ebelp2   xblnr2
    ebeln3   ebelp3   xblnr3
    *after that, become...
    ebeln1   ebelp1   xblnr1
    ebeln2   ebelp2   xblnr2
    ebeln2   ebelp2   xblnr4
    ebeln2   ebelp2   xblnr5
    ebeln3   ebelp3   xblnr3
    Thanks in advance.

    hi,
    If you have this kind of requirement then you must be having 2 internal tables ,one existing data and 2nd from which you have to insert the records into 1st table.
    so in this case,
    loop at itab1.
      v_index = sy-tabix.
      loop at itab2 into wa where pri_key = itab1-pri_key.
      v_index = v_index + 1.
      insert  wa into itab index v_index.
      endloop.
    endloop.
    Using this code ,your data records similar to your 1st tables primary key records will get inserted into table.

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • PDL-Customer Statements (Hide certain row)

    Hi all experts,
    I have many fields row  in detail. Can i hide certain row? with the formula & condition, have any formual?
    e.g. hide the field_123 with the word "JE"
    Thanks.
    Danny
    Edited by: Danny Gan on Nov 13, 2008 10:52 AM

    This might help you
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000107032008E
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000866242007E
    Pls choose apt forum to post message to get quicker response

  • How can I hide certain rows

    I have a spreadsheet that i'm using to track my weight loss.  In column A I have dates and in Column B I have weight.  I would like to hide all rows except for Monday's.  How would I do that?

    Hi Chariot,
    There is a feature called Filtering that will hide rows according to criteria you setup. Are you displaying the day of the week in your data? If so, this is what you would filter on. If not, you just need to add a column to display the day of the week, or the day number, and filter on that.
    Could you post a screen shot of your table?
    Here's a small example:
    The formula in column B is: =DAYNAME(A)
    Quite simple. There is a button to activate the Reorganize Panel on the Toolbar. Just click on your table and then click the tool icon.
    Jerry

  • How to read certain span of data from SQL-databa​se ?

    Hi All,
    I'm using LV 8.5 with Database Connectivity Toolset
    My aim is read certain time span data from MySQL-database. Let's assume that I have rocorded data from 1.1.2008 to 25.1.2008. My database table contain two columns "timestamp" and "data". How  I can select  e.g. span 20.1.2008 10:00 - 21.1.2008 14:00? I think that I have to use VI "Select Data" and write something to connector "optional clause". I can't find any example how to write clauses to this connector.
    I managed to select all data but that consumes quite much CPU time and I usually need only smaller data sets.
    BR,
    Jim

    The VI DB Tools Select Data has an input called (at the top) called "optional clause". You can wire an SQL predicate to this input that control the rows that are returned by the VI. In your case, you want to use what's called a WHERE clause to filter the rows to be the subset you need.
    For the toy database I was playing with I had to set the optional clause to: "where startdate > #3/1/2008#" to make the VI return rows which had a startdate field of later than 01-Mar-2008. I was using the JET DB engine, not sure if the same syntax will work for other SQL engines, so your mileage may vary. :-)
    Let me know if you need more information or want to take a look at my example VI.
    Cheers!
    Pramod
    Message Edited by PramodS on 04-09-2008 01:26 AM

  • How to hide zero rows from a structure

    Hi
    I have a month structue in rows which consists of 36 months. In the keyfigure coulmn also I have a structure with 6 keyfigures. In normal circumstances there will be values only upto 12 or 15 months. I want to hide the remaning rows. Is it possible.
    I created a counter on one important keyfigure so that when value>0 it is 1 otherwise 0. I call this counter. Then I tried to create a condition to show only the 1. But while creating the condition after the keyfigure a column for month with the different elements of structure has to be selected. And of course the condition does not work.
    Any suggestions how to hide the zero rows of structure
    Ram

    Right click on the key figure structure and characterstic structure select 'Properties' and check the option 'Also use Zero Suppression for Structure elements'.
    Also from the query properties select the 2nd tab display and select the option Suppression "Active All Values = 0" and from Effect on Select "Rows and Columns".
    Thanks.

  • How to hide a row in BI Publisher using conditional formatting

    Hi,
    I am using BI Publisher 11.1.1.5.0.
    I need to hide entire row based on the condition (if sal > 0 then hide entire row), please can you help on how  can I achieve this?
    thanks

    Hi,
    I've found the solution in
    Report Designer's Guide for Oracle Business Intelligence Publisher Release 11g (11.1.1) Part No. E13881-02 - Section Conditional Formatting.
    thanks

  • How to hide certain photos in aperture

    hello everyone,
    i am trying to hide certain photos from my huge library that my clients should not see accidentally for privacy reasons.
    some photo-managers offer this ability but in aperture i didn't figure it out how to do it.
    i found a workaround on the web, to rate those photos as 'rejected' and to set the filters down a notch to display everything but the 'rejected'.
    that kind of works till i quite aperture. after starting aperture up again, the rejected photos show up.
    i would have to set up the filters again to hide them.
    this is not what i need.
    has anybody a better and more reliable idea?
    thx

    hurgaaA wrote:
    i still miss a simple 'hide' button in this application.
    and, not everything you wanna hide is because of mummy..
    there's something called privacy still and those files i'm talking about can be very innocent, but i wouldn't want to show them to you accidentally.
    Unless you allow your clients to freely browse your library it's fairly easy to avoid showing unwanted pictures. The first thing I do before a sitting with a client is use the Favorites function: I select the client's project in the library pane, click the gear icon and choose Add to Favorites. Then I click on the looking glass icon in the search field and select Favorite Items — the client's project becomes the only one visible.
    This works for me because I don't use this function for anything else, which means I enable and disable Favorites as needed for this purpose.
    But the only reason I do this is to get a cleaner interface during a client sitting. If I didn't all the client would see is the names of my other projects and/or clients. He/she would never see the other pictures unless I selected one of these other projects myself or for some reason decided to browse through all my photos, which I would never do.
    You say " i would have to set up the filters again to hide them. this is not what i need."
    Filters for albums, folders and projects are sticky and will remain active until you disable or change them. Even between restarts. For instance, I organize my library with yearly folders as the top hierarchy but always add the 3 stars and above filter to those folders. If I click back to the 2007 folder it still has that filter enabled. This ability is extremely powerful, much more than a simple hide function because you can control visibility from a whole range of criteria.
    To cut this short: the only time your clients would see photos that don't concern them is if you use the Photos or Projects sections of the library pane when you have someone sitting beside you.
    I personally wouldn't  do that

  • Disable certain rows of data to be displayed.....

    I have a program in which the table will display data fed from the server .
    I would have a function in which user have the freedom to select which data he wants to be display on the next refresh page.
    How do i prevent the other data that user does not require to be displayed on the table ??
    by the way all these will affect the rows in the table , so how do i go about manupilating the rows?
    Thank YOu anyone . .

    If you mean that the user will enter a kind of scan, like myitem* or item using as a wildcard, I would create a class called ScanType where you have diiferent return values. In your main code you can use if..else depending on the scantype.
    public final class ScanType
         /** The types are:
         *  -1: source
         *   0: *ource
         *   1: *ourc*
         *   2: sourc*
         *   9: s*urce
         private ScanType()
              super();
         public static final int getScanType(String source)
    // Default is not valid. scan type : 9
              int returnValue = 9;
    // Check scan type -1: source
              if(source.indexOf("*") == -1)
                   returnValue = -1;
    // Check scan type 0
              else if((source.charAt(0) == '*') && (source.charAt(source.length()-1) != '*'))
                   returnValue = 0;
    // Check scan type 1
              else if((source.charAt(0) == '*') && (source.charAt(source.length()-1) == '*'))
                   returnValue = 1;
              else if(source.charAt(source.length()-1) == '*')
                   returnValue = 2;
              return returnValue;
    }You can test this with this code:
    public class ScanTypeTest
         public static void main(String[] args)
              String kalle = "source";
              System.out.println("Scan type: -1 " + kalle + " " + ScanType.getScanType(kalle));
              kalle = "*ource";
              System.out.println("Scan type:  0 " + kalle + " " + ScanType.getScanType(kalle));
              kalle = "*ourc*";
              System.out.println("Scan type:  1 " + kalle + " " + ScanType.getScanType(kalle));
              kalle = "sourc*";
              System.out.println("Scan type:  2 " + kalle + " " + ScanType.getScanType(kalle));
              kalle = "s*urce";
              System.out.println("Scan type:  9 " + kalle + " " + ScanType.getScanType(kalle) + " is invalid");
    }The rest of the code you have to create yourself as I don't know how you will retrieve the data to be displayed.
    Klint

  • How to hide ALV rows

    Hello All,
    Is there a way to HIDE a row in ALV object? (or any other).  Not to delete the row, I mean, it still be there but not showed.
    Thanks
    Enrique

    Refer:
    [Showing and Hiding Data Rows for Calculations|http://help.sap.com/saphelp_nw04s/helpdata/en/43/4442f470cc1bcce10000000a1553f7/frameset.htm]
    [Hiding Lines Between Columns and Rows|http://help.sap.com/saphelp_nw04/helpdata/en/91/e7eb40c4f8712ae10000000a155106/frameset.htm]

  • How to write one row of data at a time to "Write to File"

    I am trying to write 10 parameters to the LV "Write to File". This is for just one row at a time. This happens evertime I get a failure in my test routine. I am not quite sure how to accomplish this task. If I get another failure I write one row again. I testing 4 DUTS at a time so I write this row of data to each file. I am sure it is very simple.
    Thanks
    Philip

    Assuming your 10 parameters are an numeric array with 10 elements,  use "write to spreadsheet" file with append set to true. (... and if they are scalars, built the array first ).
    LabVIEW Champion . Do more with less code and in less time .

  • How to make Certain rows in the structure to be displayed as bold

    I have two structures in the query. There is a requirement that all values in Certain rows should be bold  I am talking about values and not the headers. The users are going to use the query through BEx Analyzer.
    I tried the Highlighted Display but it makes it only that row values BLUE. (this change makes them bold only on web).
    Please let me know if there is any way to display perticular row values in a structure in Bold.
    We have both versions 3.5 and 7.0 of BEx analyzer. The Query is on 7.0
    Thanks in Advance.
    2. I also have a requirement that all values from a perticular selection from column structure to be displayed as bold.
    ........................................Company Code1 Company Code 2 Comapany Code 3
    No Of Male Employees..................10.....................200........................30
    No Of Female Employees...........500.................70........................77
    So here All values in the row Female Employees should be bold and All values under Company Code 3 should be bold
    Edited by: Abhijit N on Dec 23, 2008 11:54 PM

    Hi Abhjit,
                 Please check formating option in bex analyzer for this.
    Plz check here......
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a55d2e09411d2acb90000e829fbfe/content.htm
    Regards,
    Vijay.

  • How to exclude certain rows in the ALV display from the total?

    Hi,
    May I know is there a way to exclude certain rows that are shown in the ALV control from the calculation of grand total?
    Thanks much.

    See, if
    function module REUSE_ALV_TRANSFER_DATA 's
    IT_EXCLUDING   .... param
    works for you.

Maybe you are looking for

  • Is it possible to synch and stream from the same iTunes library?

    We have two Powerbooks in the house, each one contains our own individual iTunes library. Powerbook 1 is synched to ATV. Powerbook 2 just streams to ATV. Because each Powerbook can obviously be moved to different parts of the house, we want to be abl

  • Scheduling specific time of day for automatic software updates

    How can one schedule a specific time of day (i.e. between 11:01 pm to 5.59 am when I have unlimited download availability) for an iMac to search for automatic software updates? System preferences only offer frequency, but no time option. If it is pos

  • Can't get menu.

    Okay...i installed openbox to use purely. Everythings good except i can't get a menu like i see it comes with. I've installed obmenu or w/e to configure it through gui look, but still get nothing when saving some menu'e. I guess should i just configu

  • X:InputCalendar and format of displayed date

    I am using a simple <x:inputCalendar> component which works fine, but the format of the displayed date (the date that was selected from the popup calendar), is not formatted in the way I want it. I want the format dd.MM.yyyy. I've tried to put a <f.c

  • Problem with User exits when using custom fm

    Hi everybody, I am processing an IDoc using fm IDOC_INPUT_INVOIC_MRM. Nos I had to copy this to Z_... And this fm has a sun-routine that calls User-exits. When I am using the standard fm, the UEs are being checked for active and executing the logic i