The number of the rows in a tabular style

hello to all
i have a problem creating a column that gives me the # of the row in tabular with form builder
can anybody give me help with that please?

The rownum pseudo-column hold the number of the row but it doesn't work like you expect. It is assigned before sorting for example and it is not absolute. SQL conceptually deals with sets and sets have no inherent order. See http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html
If you want to have an absolute number in a row you will need to maintain it yourself with PLSQL code.

Similar Messages

  • How to retrieve the number of "free" rows in a table?

    Hi,
    if in a client only environment (no sync to mobile server) rows are inserted and deleted into a table,
    is there a way to retrieve the number of "free" rows in a table? Number of "Free" rows stands for
    number of rows that can be inserted again, before the table extents in size.
    Is there a way in OLite 10.3.0.2.0 to retrieve the size of tables and indexes? ALL_TABLES is not
    a place that really works.
    Best regards and many thanks,
    Gerd

    Hi Gary,
    many thanks, the partner uses a Lite client db without sync. The db runs inside an laboratory device and collects measures. There must be a way to estimate the the number of "measures" rows, that stil can be stored in the db.
    Than we need to make the deleted space available for new rows. The partner tested defrag.exe and found that it
    needs very long time to run, especially if the db is bigger than 2GB. ... and that this run sometimes fails.
    Is there any recommendation the partner can follow on?
    Thanks,
    Gerd

  • Alert about the loading time & Restrict the number of the rows retrieved

    Hi everybody, maybe the question is stupid, but I didn't find yet an answer...
    I'm using BIP 10.1.3.4.1
    Because I have many reports with a huge amount of data to display (in HTML format) and customers once clicked on "View" have to wait a lot of time, they asked me if there is the possibility to do the following things:
    1. restrict the number of the rows retrieved (this for each report); this request has to be dynamic (different rows' number for each report and for each user); so, I can't modify the query into the data template in order to retrieve a fixed number of rows;
    2. show an alert who says for example " The data loading will take 5 minutes. Do you want to proceed ? YES - NO" This to inform the users how much time they have to wait if they click on Yes.
    I checked under the Administrator TAB...but I didn't find nothing "native" about the two questions above.....
    So, I ask you if there is a way to activate these features (if they exist "native") or a workaround to implement what I described above.
    Any help will be appreciated.
    Thanks in advance
    Alex

    Hi Vetsrini, thanks for your answer.....but what does it mean ? There are no solutions for my requests ? I remember that Discoverer had the possibility to have an alert as I would like to have with BI Publisher and there was the possibility to choose how many rows it was required from the customer....Is it possible that with BIP is not applicable ?
    Have a good day
    Alex

  • HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID?

    HI.
    HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID????
    GABRY =)

    You need to use
    data : grid1  type ref to cl_gui_alv_grid.
      call method grid1->get_selected_rows
        importing
          et_index_rows = i_sel_alvrows[].

  • Know the number of the row in a select

    Hi experts,
    I´m doing a select * ... such as:
    *      SELECT *
    *        FROM YPLM00 CLIENT SPECIFIED
    *        WHERE mandt = sy-mandt
    *        AND TIPOL = 'RS'
    *        AND PSPNR = yplm00_tree-pspnr
    *        AND TIPOP = yplm00_tree-tipop
    *        AND PROCE = yplm00_tree-proce
    *        AND ID_ED = yplm00_tree-id_ed
    *        AND TIPOE = yplm00_tree-tipoe
    *        AND ID_EN = yplm00_tree-id_en.
    Can i know the number of the row that is affected? I don´t want the total of rows... i want the number of each one...
    Thanks in advance,
    regards

    >
    Victor Capi wrote:
    > I have a table with
    >
    > Q   W   E   R
    > E   T    U    I
    > A   Q    E    T
    > A   W   R    F
    Hi Victor,
    I see what you mean.  The problem is still that there isn't actually a row number associated with each database row.  In your example, what is the primary key of the table?  If it is say A Q E for row 3 and A W R for row 4 then that is the only way you can identify them.
    It sounds like you have performance considerations so probably change the SELECT * to only SELECT the fields you need.  Also change it so that you are SELECTing into a table - so in your example you would get both rows 3 and 4.  Then if you want to process those rows, you will have to use their primary keys to identify them, say by LOOPing through the internal table you have just selected them into.
    Do you already have an internal table with values you wish to read from this table?  So say you have a table with 500 entries which all define the value in the first column of this table?  If so you could try chaning to using a FOR ALL ENTRIES in your select to get all rows for the table in one hit - you can then process them again in a LOOP.
    Hope this helps in some way.
    Gareth.

  • OCI8 OCIStmtFetch() the number of processed rows

    Hello,
    Would someone help me, please.
    How may I get the number of returned rows at the end of the table after OCIStmtFetch() for multiple rows?
    The OCI7 function ofen() returns the number of processed rows.
    Thanks.
    null

    Simon
    For  deleting significant number of rows best practice is to delete rows in small batches of known size (e.g. 10 K) inside a while loop. 
    This keeps transaction log from filling up as well.
    Also between two iterations of delete you can give some wait to make sure that you do not monopolize the server. Sleep could be for a fixed number of seconds (e.g. 5) or for randomized number say from 1 to whatever makes sense.
    Typically "set rowcount " is used to set up the batch size and "waitfor delay" to sleep between iterations.
    Global variable @@rowcount gives yo actual rows deleted. For the last batch this may be lower than the batch size you set up.
    HTH
    Avinash

  • Restrict the number of output rows

    I'm using Crystal XI. 
    Is there a way to restrict the number of ouput rows comparable to a SQL "Set Rowcount" command?  If so, I would appreciate the instructions.
    Thanks.

    I don't think their is a way to do it through the select expert, but it's easy enough to suppress any records beyond a defined number through the section expert:
    recordnumber > 5
    Any records after 5 are suppressed.

  • Indesign CS3: How to get the number of the current layer?

    Hallo!
    How to get the number of the current layer in a page?
    Thanks,
    Alois Blaimer

    InterfacePtr<ILayerList> layerList(documentUIDRef, UseDefaultIID());          <br /><br />int32 layerCount = layerList->GetCount();<br /><br />To findout layer name use<br /><br />IDocumentLayer* documentLayer = layerList->QueryLayer(layerIndex);<br />                         <br />PMString layer=documentLayer->GetName();

  • Date - how to get the number of the week

    I have a Date - string - w/e can be convered thats not the problem
    but how do I get the number of the week cuz the database holds events per week so I need to know the number of the week.
    I tried going true the api but I failed to find the right fuction, aldoh I recall seeing it somewhere a while ago.
    anyways got a deathline so easy dukies, first come first serve.

    how's this then?int weekOfYear = 0;
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); //your String format
    Date date = null;
    String dateString = "2003/06/16";
    try {
      date = sdf.parse(dateString);
    } catch (ParseException pe) {
      //hande bad date format
    if (date != null) {
      GregorianCalendar calendar = new GregorianCalendar();
      calendar.setTime(date);
      weekOfYear = calendar.get(Calendar.WEEK_OF_YEAR);
    Warning: Be careful of your locale settings when using week of year, you may need to investigate setFirstDayOfWeek(int value) and setMinimalDaysInFirstWeek(int value) to ensure you get the results you expect.

  • How to know the number of the week in iCal ?

    Hi !
    I'm very enjoying iCal. But, there is something very important for me that I can't find in iCal !
    I need to know the number of the week (in Month, Week or Day views).
    Is that a way to easily see it ?
    Regards,
    ant
    iMac G5   Mac OS X (10.4.2)  

    there's no option for a week view in iCal, but John Maisey wrote this applescript.
    paste it in the Script Editor (Applications --> AppleScript --> Script Editor) and run it once...
    if your weekview starts on an other day change this line:
    set daysText to "MonTueWedThuFriSatSun"
    to (example)
    set daysText to "SunMonTueWedThuFriSat"
    --Copy below this line into Script Editor and click run --
    --Annual Week numbers
    --John Maisey
    --4/2/5
    set numberOfWeeks to 1000 -- change as needed
    set daysText to "MonTueWedThuFriSatSun"
    set aDate to (current date)
    set day of aDate to 1
    set month of aDate to January
    set aDay to weekday of aDate
    set weekNo to 1
    --Day of week as num. starting with 0
    set aDayText to (characters 1 thru 3 of (aDay as text)) as text
    set dayOff to ((offset of aDayText in daysText) - 1) / 3 as integer
    if dayOff is less than 5 then
    set StartDate to aDate - dayOff * days
    else
    set StartDate to aDate + (7 - dayOff) * days
    end if
    tell application "iCal"
    set newCal to make new calendar at end of calendars with properties {title:"Week No."}
    set myCal to (count of every calendar)
    end tell
    repeat with myCount from 1 to numberOfWeeks
    if (month of StartDate is December) and (day of StartDate is greater than 28) then set weekNo to 1
    if (month of StartDate is January) and (day of StartDate is less than 5) then set weekNo to 1
    set weekText to "Week No. " & weekNo
    tell application "iCal"
    tell calendar myCal
    make new event at end of events with properties {start date:StartDate, allday event:true, summary:weekText}
    end tell
    end tell
    set weekNo to weekNo + 1
    set StartDate to StartDate + 7 * days
    end repeat
    --

  • I created a book at the Ibooks author. But there are pages where the number of the page does not appear. How I can solve this problem? I thank you very much for any tip.

    I created a book at the Ibooks author. But there are some pages which the number of page is not visible. What can I do to see the number of the page?

    Have you changed the template?
    Some pages may not have numbers in place as default.  If you have changed the page or the template page, you may have added a object which as pushed the number out of view, or an image may be in a layer on top of the text.
    If you select one object on the page...then go to Edit, select all, you should see the outlines of any content no matter that content may not be seen. Look at the bottom for a page width rectangle outline.. IF its there, you need to shuffle the content until you find that box, and use Arrange > bring to front.

  • Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (a

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

  • I've got an iPad and iPhone 4S, both of which are set up for facetime. When someone calls me, both the iPad and phone ring, even though the phone is set to receive facetime calls on the number and the iPad is set for an email account. why is this?

    I've got an iPad and iPhone 4S, both of which are set up for facetime. When someone calls me, both the iPad and phone ring, even though the phone is set to receive facetime calls on the number and the iPad is set for an email account.
    How can I change the setup so on the email only the iPad rings and on the phone number only the phone rings?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    This forum is for Apple's defunct office suite 'AppleWorks' - since the word count is not in the places you mention I assume you are talking about Microsoft Word? Though it's just possible someone in this forum might also use Word and know the answer, you would stand a higher chance of getting an answer in Microsoft's own forums. You could also try asking in the forum applicable to your operating system - Lion, Mavericks or whatever - on the reasonably chance of finding someone familiar with Word.

  • How to extract the number of the image which looks like a number

    Now,I can generate a image which contains a random number,but I can not extract the number of the image.Any one can help me?

    [url http://forum.java.sun.com/thread.jspa?threadID=779212&messageID=4433641#4433641]Crosspost.

Maybe you are looking for

  • HT201364 i made the mistake of installing Maverick without having the  extra 8 gig of space.

    Now am I stuck in a loop of not being able to go back and take off files for the extra space and now able to move forward and restore from Time Machine Tried to link with a firewire cable and togle "T" to see the HD on another computer to move files,

  • SELECTION BASE ON SELECTION

    hi all,    can anyone tell me how to code for a selection based on selection, that is i have taken suppose material document in the selection screen now when i look for a data in the field it should select based on the moment type displaying a popup

  • Missing fonts after upgrade

    I've noticed that a key group of fonts I use on a regular basis are not being listed in my programs, however they are being listed in Font book as being installed.  This has only been since I upgraded to Lion.  The two fonts I am specifically looking

  • Webservice ---- XI ------ .Bapi

    Hi Experts, Could anyone please explain the step by step procedure for the below scenario in XI. webservice <--> XI <----> .Bapi

  • Panopticum Fire for After Effects

    I am trying out this plugin but wonders if anyone could point me to tutorilas on how to use this plug in in AE. The manual is aweful ! Thanks C