How do I apply a calculation to row of cells

Hi.
I'm using iwork '08 and can't find a way to add a value to row of cells, as per the Calculate menu in Appleworks. I'm trying to update a calendar from the previous year by adding a value of 1 or 2 to the numbers in all the cells so that last year's June 24 becomes this year's June 25. Does Numbers have a way of doing this?

wonderlips wrote:
Hi Barry,
Wow! Your responses to my problem makes a lot more sense when I can see the graphics you sent with them. Not sure what I was looking at, but it didn't contain the screenshots. Below is a representation of what I'm trying to accomplish. (Sorry, but I don't know how to provide a screenshot of the actual doc in this post.)
Screenshots are taken using shift-command-4, then dragging the crosshair cursor to enclose the part of the screen you want to copy. The file is copied to your desktop as a PNG (portable network graphics) file named Picture 1 (with numbers ranging from 1 to 10), which you can then go to the finder and rename.
Upload the file to a picture storage site (there are many free ones on the 'net) and store it in an album there. For most sites, clicking on your image (or just moving the pointer over it) will give a list of codes to paste into a message to call that image.
Use the one labeled HMTL. Copy the code, then paste it into your message.
You can see an example of the code used by clicking Reply on any message here showing an image, then clicking the quote button ( ” ) to see the text and HTML codes in the message itself. (Click the discard and Cancel button below the message space if you don't actually want to reply to that message.)
Hope the formatting doesn't completely go away when you get this.
It does, pretty much. The forum software parses out multiple spaces. Still readable if the reader has an idea what it should look like, and more readable using the technique described above for seeing HTML codes in a message.
Anyway I can't get the DATE or DAY functions to track properly between cells, because the DAY function converts text into a number,
DAY() does absolutely nothing with text, except return an error message:
"DAY requires a date but found a string instead."
A cell containing a Date and Time value may be formatted to show only the date portion in any of the following forms:
No matter which of those is visible in the cell, the cell does NOT contain a text string and does NOT contain a number. The cell contains a Date and Time value in which the Date portion is the value for the ninth day of February in the 2006th year of the common era.
and the DATE function converts a date into a number, and the the two functions don't play nice with each other.
Actually DATE works in the opposite direction. It constructs a date from three separate numbers.
The syntax is DATE(year,month,day)
DATE(2006,2.9) will construct the Date and Time value for February 9, 2006 and set the time value to 0:00:00 (midnight). Depending on the format set for the cell containing the function, the date will display in one of the forms shown in the list above.
Once the DAY function converts a date into a plain number, it won't reset after 30 and 31. In fact it seems to treat any reference to that cell as a one.
DAY does return a (plain) number in the range 1-31. If you add 1 to that +number+, you'll get a number in the range 2-32. If you add 1 to the +date+ that DAY extracted that number from, you'll get a number in the range 2-31, or if the new date is in the next month, you'll get the number 1.
Now that I've seen the graphics that were supposed to come with your posts, it looks like the answer may be a set of reference cells in another table that I can hide from view in the printed form of my chart.
There's no need for a second table just to get the day numbers in your example. You may need a LOOKUP table to convert the 1s to the shortened name of the current month, though, and that LOOKUP table can be placed on a second table.
Here's my take on the problem as currently described. Description below.
Column A contains the starting date in Cell A1. The format is set to display this date including the name of the weekday to ensure the calendar starts on a Monday. (Necessary because the weekday labels in row 2 are entered text, not constructed from the date information being placed on the calendar.)
A5, and every 4th row after contains a formula that adds 7 to the date in the cell four rows above.
=$A1+7
B1 contains a formula that extracts the DAY (of the month) from the date in A1, plus a calculation that allows it to increment the date when filled into the columns to the right.
=DAY($A1+COLUMN()-2)
The desire to replace "1" in C1 with "Jun" (the shortened name of the new month) makes the formula a bit more complicated:
=IF(condition,TRUE: do this,FALSE:do this)
=IF(DAY($A1+COLUMN()-2)=1,LOOKUP(MONTH($A1+COLUMN()-2),Month Lookup :: $A$1:$A$12,Month Lookup :: $B$1:$B$12),DAY($A1+COLUMN()-2))
condition: DAY($A1+COLUMN()-2)=1
as above, the formula extracts the (adjusted) day number from the date in A1, then compares it with the number 1.
If they're equal the comparison evaluates as TRUE, and the formula does this part:
LOOKUP(MONTH($A1+COLUMN()-2),Month Lookup :: $A$1:$A$12,Month Lookup :: $B$1:$B$12)
MONTH() returns the number of the month of the adjusted date in A1, then looks up that value (6) in column A of the table Month Lookup, and returns the corresponding text string ("Jun") from column B of that table.
If the day number is not equal to 1, the comparison evaluates as FALSE, and the fomula does the last part:
DAY($A1+COLUMN()-2)
and returns the day number of the (adjusted) date.
Constructing the tables:
Month Lookup table
Enter 1 in A1 and 2 in A2.
Select both cells and drag the coltrol down to fill to row 12.
Enter Jan in B1
Select B1 and drag the control down to fill ro row 12 (Dec)
Calendar table
Enter a starting date in A1.
Enter
=IF(DAY($A1+COLUMN()-2)=1,LOOKUP(MONTH($A1+COLUMN()-2),Month Lookup :: $A$1:$A$12,Month Lookup :: $B$1:$B$12),DAY($A1+COLUMN()-2))
in B1.
Select B1 and drag the fill control right to fill B1:H1
(See optional formatting below for adding colour to month names)
Select B1:H1 and Copy
Select B5 and Paste.
Enter
=A1+7
in A5.
Select A2:H5 (as shown in graphic above)
Drag the control down as many rows as you need.
Optional formatting
The red month names on yellow backgrounds are created using Conditional formatting for the seven cells B1:H1 (and similar cells further down the table).
If you choose to do this, it's best to do so where "See optional formatting..." is placed in the instructions.
Select B1:L1
In the Format bar above the tables, set the Text colour to red and the Fill colour to yellow. (This will change the colours in all cells in the row.)
Open the Inspector and click the Cell Format button.
Click the Conditional Format checkbox to check it. Click Show Rules.
From the Choose a Rule popup, choose "Less than or Equal to" and enter 31 in the box that appears.
Choose Black for the conditional text colour and white for the conditional fill colour.
Continue with the instructions for Constructing the Tables.
Regards,
Barry

Similar Messages

  • How to hide or filter out the row at break subtotal level

    Hi All,
    Need to know how to hide or filter out a row at break subtotal level.
    My Requirement is to sum up the first 20 business days total as Month total.
    This is a cross tab report, with Dates going from top to bottom, Securities going from left to right and Amount as the intersection of this two dimensions.
    So I have created a variables like this below
    RunningCount of Mtr Dt=ToNumber(RunningCount([Query 1].[Intrader Acct Mtrty Dt]))
    and
    MonthBreak=If [RunningCount of Mtr Dt] Between (1;20) Then 1 else 2
    Inserted this "MonthBreak" variable into the crosstab so it will give me each rowcount, then applied the break on this variable, so it split the first 20 rows and the rest of the remaining rows.
    Then applied Sum on the Amount column so it will add up the first 20 rows and then the remaining rows. Now I want to display only the subtotal row of the first 20rows and hide/filter the row subtotal line for remaining row numbers greater than 21.
    Did tried to do some thing using the alterers but no luck.
    Please help me fix this

    Hi Mathangi,
    When I apply
    =If ([MonthBreak] = 1) then Sum(Amount) else 0
    in the subtotal row, then nothing is changed.
    And one other thing I noticed is when we apply break on a column it footer should be same as the break value right. But here in my report the break footer is displaying 1 for both the cases for first 20 rows break and the rest from 21st rows.
    That is when I place  MonthBreak variable in the table.. which has values 1(for row 1 through 20) and 2 (for rows 21 to end of the report) then apply break on this MonthBreak column, its footer value are same for both the cases which is displaying as 1
    Do you know why this happens and to your information this is a cross tab report I am working on....

  • Apply Image to datagrid row

    hi
    i have one problem i need to apply image to selected row in
    datagrid dynamically we have
    "selectedcolor" but i need to apply image to selected row is
    there any way please help me
    client requires this effect
    karthik.k

    hi thanks for the reply i am posting sample code
    <DataGrid id="dg_getData1" backgroundColor="0x87A3B7"
    selectionColor="0xE4C38D" verticalScrollPolicy="off"
    horizontalScrollPolicy="off" itemClick="getIdForPresenter()"
    wordWrap="true" width="100%" verticalGridLines="false"
    backgroundAlpha="0.3" headerHeight="0" fontSize="20" rowHeight="53"
    dataProvider="{model.filteredCollection}" useRollOver="false"
    horizontalGridLineColor="0xFFFFFF" horizontalGridLines="true">
    <columns>
    <DataGridColumn width="30" dataField="sessionTimes" >
    <itemRenderer>
    <Component>
    <HBox horizontalScrollPolicy="off">
    <Script>
    <![CDATA[
    import mx.controls.Alert;
    override public function set data(value:Object):void
    var s_String1:String;
    var s_String2:String;
    var s_String3:String;
    var num:Number
    super.data=value;
    s_String1=sessionTimes.text;
    var arr_Array:Array=s_String1.split(" /");
    for(var i:int;i<arr_Array.length;i++)
    s_String3=arr_Array[0]
    sessionTime.text=s_String3
    s_String2=arr_Array[1];
    /* num=arr_Array[2]
    if(num%2==0)
    setStyle("backgroundColor",0x8EA9BB);
    else
    setStyle("backgroundColor",0x6B8FAB);
    if(s_String2=="NOT RECEIVED")
    sessionTime.styleName='textcolor';
    else
    sessionTime.styleName='textcolor1';
    ]]>
    </Script>
    <Label id="sessionTime" />
    <Text id="sessionTimes" text="{data.sessionTimes}"
    visible="false"/>
    </HBox>
    </Component></itemRenderer>
    </DataGridColumn>
    </DataGrid>
    i am using itemrenderer i need to place an image and when
    that row is clicked i need to display image for the row clicked and
    when next row clicked previously clicked image should disappear and
    currently clicked row should be displayed with image(every thing
    dynamically)
    only option i saw is "selectionColor="0xE4C38D" but i don't
    know how to place image instead of "selectionColor" for button we
    have style effect (upskin, downskin) where we can embed image but
    in datagrid any option like that,
    any idea this requirement is severe
    please help me
    karthik

  • How can i apply maxlength constraint on TextField Through JavaScript ?

    How can i apply maxlength constraint on TextField Through JavaScript ,
    when i am adding the row dynamically & adding the textfield dynamically into it . I can set its attributes like name, size, focus & else, But why its not setting maxlength attribute through javascript ?
    If any body is fammiliar with this problem Please answer the question.

    Hi Ashoka,
    here is the code to get the length of the test field. then you can set your own textfield restriction. I hope this what you are searching. or else you can set the max length of the text field in HTML tag itself it is very easy.
    HTML : <input name="textfield" type="text" maxlength="25">
    JAVASCRIPT:
    <html>
    <head>
    <title>mAX tEXT <title>
    <script>
    function maX()
         var data = document.form1.textfield.value
         len = data.length
         alert("Max Value "+len);
         return true;
    </script>
    </head>
    <body>
    <form name="form1" method="post" action="">
    <input name="textfield" type="text">
    <input type="button" name="but" onClick="return maX()">
    </form>
    </body>
    </html>

  • How to find the average of table row values it should display in next row in libwindow/​CVI

    Hi,
    How to find the average of table row values it should display in next row in libwindow/CVI
    Please let me know the solution.

    There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
    To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
    Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I apply sales tax / invoices

    I'm just getting to know numbers (and iwork),
    how can I apply sales tax to only the desired lines I want with the invoice templates?

    Linda Linda wrote:
    how can I apply sales tax to only the desired lines I want with the invoice templates?
    One way is with the addition a of a checkbox column to the template to indicate taxable items & the addition of a separate column for the tax, which you can subtotal separately & add to the untaxed "Cost" column. The formula for the tax column would use an IF statement & the fact that a checked box represents the "true" condition & an unchecked one the "false" condition. The formula would be something like:
    =IF(D, $C$11*F, 0)
    where $C$11 is a reference to the template's tax rate cell, "D" is the column with the checkbox format, & "F" is the Cost column, here "bumped" to the right from its original column by the addition of the new columns. (Yvan's ROUND formula can be applied to the individual item taxes or to the tax subtotal, depending on what is customary or required by law.)
    A more sophisticated, automated approach could involve a separate table in a separate sheet listing the taxable (or non-taxable) item descriptions & a formula to calculate the truth value from that instead of with a checkbox column. This would allow you to avoid showing a checkbox column in the submitted invoice without hiding it.
    Note that in any approach, you can hide columns (or rows) you don't want to be seen or printed.
    Message was edited by R C-R to explain the "F" reference.

  • In import process,how excise base value is calculated in MIGO

    Hi expert's,
    In import process,how excise base value is calculated in MIGO,with what referance values get add to base value.
    waiting for your valuable response,
    Regards
    V.raj

    hi,
    we Tried with your following reply ! but still not finding exact value in base value .
    (MATERIAL PRICE* QTY IN MIGO * EXCHANGE RATE)
    thanks & regards
    V.Raj

  • How can i apply adobe bridge in my ipad 2?

    how can i apply adobe bridge in my ipad 2?

    As when installing an app on a computer, there must be a version for the app that is compatible with the computer and the OS running the computer.
    Is there an Adobe Bridge app for the iPad available via the iTunes app store?

  • HT2492 How do I use the calculator widget in another window?

    How do I use the calculator widget in another window?  For ex: if I want to move the calculator to a window that shows prices of products on a web page.  I used to be able to click on the calculator and use it in another window, before I upgraded to OSX. What am i doing wrong?

    I think you have to bring it back up in widgets in a new window, you can set up a hot corner to make tis qciker

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • Interactive Report: how to get value of given row/col cell in selected row

    Hi -- I have an interactive report. Instead of the default behavior of the link going to a single row view, I want it to
    go to a form for editing the row. This means I have to be able to populate the form w/ the correct row's information...
    so need to get the value(s) for the PK column(s) in the selected row of the interactive report, so I can select the row
    from the database.
    How can I do this? I see in the report attributes, Link Column section, I can set Rows Uniquely Identified by, and a Unique
    Column (though there could be more than one in a PK). I imagine I'd want to use the rowid, but I'm not sure how the
    rowid of the selected IR row can be referenced. And at that point, I'm not sure how to get the IR column value for
    that row. (Say I'm on the 8th row and I need the first column... How is the column referenced? By a number, it's name,
    its heading?)
    Or maybe I'm not on the right track at all...
    Ideas?
    Thanks,
    Carol

    Hi Carol,
    What I´m trying to do is: defining a button such as when you click it a pl-sql procedure is called, which needs as an input parameter the id of the row selected in my form. what I need first, then, is to get the id of the selected row. how did you get it?
    Thanks in advance
    Francesco

  • How do you apply the same password policy to every PDF document you create with inDesign?

    All,
    Adobe peeps!,
    I don't know if this is really supported with inDesign 5.5, but here is my my use case:
    I constantly create more than 10 PDFs a day using inDesign
    On  all PDF's I create, i want to apply password security to protect them
    But in order to do so, within inDesign, I am   always forced to go to the "security dialogue" pane to set up the same permission  and passwords over and over again
    This gets tiring :/
    So what I am hoping to do is  the following:
    Like acrobat, I want to create a password policy within inDesign
    I want all PDFs created to have such a password policy  be automatically applied
    I know acrobat supports something like this (http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7d68.w.h tml), but, unless I may have missed something, the Acrobat feature is limited. That is, the help link  does not tell me how to automatically do this with Acrobat either (the link does not explain to me how to "automatically apply the same password security policy to every PDF document I save within the application). I think the only way to do so is via "Adobe LiveCycle Rights Management ES", but for non server users, I am hoping there is another way.
    So my questions are:
    Is it possible to create password security policies in inDesign?
    Is it possible to apply the same password security policy to every PDF i create in inDesign?
    If not, can I change default settings within Acrobat ProX to automatically apply a password security policy everytime I save a PDF?
    If all fails, do you guys know of any extensions that can support this?
    Any help would be great. Thanks!

    Steve,
    Thanks for your notes. To follow up on your response.
    Bummer. I kinda had a hunch at this inDesign limitation.
    I have been aware of the method for setting up of a security policy within Acrobat. While this feature does cut down some of the work involved in creating and applying password policies to pdfs, what I am looking for with Acrobat is to apply the same password policy to every document I save from the app. Automatically. Without having to manualy select a policy.
    I think my solution will have to lie in me creating some sort of script to help support this need. I don't think Acrobat Pro X has the capabilities to allow me to tinker with, say, creating a save PDF preset that will allow me to automatically apply a password policy.
    PS. I am using acrobat pro x.

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

    Hi friends,
    Thank you for trying to help me out.
    Let me explain it a bit to remove the ambiguity.
    I have 10 documents nested under a book. Each of these documents have 'n' number of pages. I want to apply my custom made master page "First" to the first page of all these 10 documents in one go. The remaining pages of the documents have to be in default "Right" master page format. How will I do it?
    I tried selecting all the documents and importing the formats from another document with the custom made "First" master page. The master page format is getting imported but the first page of all the documents still remain with the default "Right" master page format.
    I think now my question is more clear...

  • How do I apply same adjustments to multiple photos at the same time?

    How do I apply same adjustments to multiple photos at the same time?

    You can't but you can copy the adjustments made on one photo and apply/paste it onto another by:
    1 - Control (right)-clicking one the edited photo in the Edit mode and selecting Copy Adjustsments
    2 - Control-clicking on the next photo and selecting Paste Adjustments.
    OT

  • How do I limit the number of rows retrieved at a time using RefCursor?

    I have a PL/SQL package in use, that returns a REF CURSOR. This is currently being used in a Forms 6i application. Now I want to develop an ASP.NET web application that displays exactly the same information as my Forms 6i module. In fact those two applications will be used concurrently for a while.
    I looked at the sample code provided on otn.oracle.com and decided to use the OracleDataAdapter.Fill()-method to fill a dataset and bind that dataset to a pageable GridView. Now I wonder, whether this method retrieves ALL records of the query at once and how I can limit the number of rows fetched? The Select statement retrieves up to 10000 rows at a time. Most of the time, a user is only interested in the first 20-30 rows. Forms 6i fetches more rows as the user scrolls down, how can I implement the same behavior in ODP.NET?
    - Markus

    Excuse me, but the reply does not quite answer my question. Maybe I did not explain my concerns clear enough:
    I understand the use of the two properties (RowSize and FetchSize) to reduce the amount of round trips needed to transfer the data - not the number of rows fetched in total. This would still lead to a situation where all rows are transferred, when I am using the OracleDataAdapter.Fill()-Method. Is this correct or did I misunderstand the function of this method?
    I quote the otherwise really helpful article you send me:
    Of course, there is a cost if the fetch size is arbitrarily large. More client-side memory and processor cycles will be needed to store and manage a larger amount of data. The goal is to find a high-performing balance between the number of round trips and the amount of data retrieved per trip.
    My RowSize is for sure a bit larger than the one in the given example. The query will probably be used by up to 100 users at a time, so I would like to limit the resource-costs not only on the network by the number of round trips, but also on the web-server which is storing all these records in it's memory per user-request.

Maybe you are looking for

  • Service Accounts for Reporting Service in SQL Server Failover Cluster setup

    I am setting up 2 Report Services (SSRS) in SQL Failover Clustering (Version: 2012SP1) on Windows 2012, as part of scale out architecture. There are 2 options to configure the service account for SSRS: Option 1) Using domain accounts, as what I have

  • Using Assembler to extract links from a file contained in a package

    Hi everyone, I need help creating a DDX file that would extract links from the second file in a package. Can you point me to some examples somewhere? The file has links to other files in the package. It doesn`t work when I remove it from the package,

  • HELP!!!! PLZZZ ITUNES 6 WONT OPEN!!!!

    Hey, i had itunes 4 and i jus downloaded itunes 6 from online. I followed everything it said to do. After that, i try opening itunes and it dosent open. Also nothing comes out in my window task manager. PLEASE HELP!!! I Really need ITUNES!! -Renzo

  • Web service component

    Hi, While creating a process workflow in LCES 8.1 I´m using the web service component. Can someone tell me how this service works in terms of proxy? Does it creates a proxy in design time (after making the load of the wsdl file) or will it try to get

  • Oracle data file not accessible

    Dear All, I hitting the following error while trying using dbv command: kuldb84s:oraq00 50> dbv FILE=p00.data483 DBVERIFY: Release 10.2.0.4.0 - Production on Mon Nov 22 14:53:12 2010 Copyright (c) 1982, 2007, Oracle.  All rights reserved. DBV-00100: