Number increment in a row when a cell changes

Hi,
Here is my problem, I have a query giving me results like this, nothing special:
ASSEMBLY_LINE    SERIAL_NUMBER    OSSSHORTSEQ    SEQUENCE   COMP_NO....
LHEX BYP00128 L21 UF01
LHEX BYP00128 L21 UF01
LHEX BYP00128 L21 UF01
LHEX BYP00125 L21 UF02
LHEX BYP00125 L21 UF04
LHEX KFX00243 L29 FP01
LHEX PAS00343 W23 FP02
LHEX PAS00343 W23 UF03
resulting from this query:
SELECT *
FROM (SELECT locations_pkg.get_name
(locations_xtd_pkg.get_parent (agm_loc_id, 'Z')
) AS assembly_line,
act_px_pkg.get_string
(mfg_global_vw.agm_id,
act_px_types_pkg.f_mfg_if_serial_number
) serial_number,
workorder_tk_pkg.get_oss_short_sequence
(mfg_global_vw.agm_id)
ossshortseq,
components_vw.SEQUENCE, comp_no
FROM mfg_detail_vw vv,
mfg_global_vw,
mfg_supply_vw,
components_vw,
act_px
WHERE mfg_global_vw.agm_id = vv.agm_id
AND mfg_supply_vw.adm_id = vv.adm_id
AND ads_git_id = components_vw.git_id
AND mfg_global_vw.agm_status_id IN (1, 3, 7, 6, 4, 5)
AND mfg_global_vw.agm_asqt_nr IN (40, 50)
AND agm_loc_id = 99585
AND mfg_supply_vw.ads_id = act_px.act_id
AND act_px.actpxt_nr = act_px_types_pkg.f_lbdm_info)
GROUP BY assembly_line, serial_number, ossshortseq, comp_no, SEQUENCE
order by serial_number
I'd like now, to add a number, which would be the same for each line which have the same value of serial_number:
*ASSEMBLY_LINE    SERIAL_NUMBER    OSSSHORTSEQ    SEQUENCE  NUMBER COMP_NO....*
LHEX BYP00128 L21 UF01 1
LHEX BYP00128 L21 UF01 1
LHEX BYP00128 L21 UF01 1
LHEX BYP00125 L21 UF02 2
LHEX BYP00125 L21 UF04 2
LHEX KFX00243 L29 FP01 3
LHEX PAS00343 W23 FP02 4
LHEX PAS00343 W23 UF03 4
Any idea how I could do that?
Best regards!
Edited by: lakers on Apr 13, 2012 6:58 AM
Edited by: lakers on Apr 13, 2012 6:59 AM

>
>
*ASSEMBLY_LINE    SERIAL_NUMBER    OSSSHORTSEQ    SEQUENCE  NUMBER COMP_NO....*
LHEX BYP00128 L21 UF01 1
LHEX BYP00128 L21 UF01 1
LHEX BYP00128 L21 UF01 1
LHEX BYP00125 L21 UF02 2
LHEX BYP00125 L21 UF04 2
LHEX KFX00243 L29 FP01 3
LHEX PAS00343 W23 FP02 4
LHEX PAS00343 W23 UF03 4
Any idea how I could do that?Have you tried DECODE? How many values of Serial_Number do you have?
[edit] Just a point - this "design" would be contrary to good normalisation principles - if you have a unique
value for every unique serial number, why not just use it? [edit]
Paul...
Edited by: Paulie on 13-Apr-2012 15:16

Similar Messages

  • Shade Excel Rows When a Text Value Changes

    How would I tell Excel to format background fill in rows when a value changes?  Chandoo posted this challenge and many people have answered, but I cannot get any of their proposed solutions to work properly.  This would be a handy trick and it
    should not be hard.
    Doug in York PA

    Looks like you have already got the correct formula, the only thing you need to do is create a conditional formatting. What's the trouble did you meet ?
    Also you can try this formula:=ISODD(SUMPRODUCT(1/COUNTIF($A$2:A2,$A$2:A2)))
    Wind Zhang
    TechNet Community Support

  • Number of rows inside a cell in table

    Hie all,
              I have a requirement in that I have to create the number of rows inside the cell of table. I did it using the subforms as a body page of a row.
    but facing problems when you have number of rows such as data truncation and overlapping of rows..
    Please help.

    Hi,
    You can also create table inside the cell of the column by following steps:
    1.Select the Cell of the Column in table.
    2.Go to Table -->Insert-->and choose as per your requirement(You can adjust the row ans column as per your requirement).
    3. Go to Pallette-->Border and hide the border if not required.
    This is will not create problem of overlapping or truncation.
    Regards,
    Shweta

  • When the cell number associated with your ipad in itunes preferences is not yours.

    When looking up my ipad's serial number in itunes preferences, there is a cell phone listed with this device that is NOT MINE.
    Would there be ANY REASON that the cell phone number attached to my ipad in itunes preferences is not be mine?
    Considering my ipad has been missing for several weeks - could this be the cell phone number of the person who has it?
    Thanks

    I'm not sure just where you are seeing this phone number, but could it be the "phone" number associated with a data plan? (It's just used as an identifier for the data traffic.)

  • I Have a UITableView with 17 row. in last 17Th row i applyed cell.selectionStyle = UITableViewCellSelectionStyleNone;  and in this row i also put UIButton with Image -  my QUESTION IS that i want in 17Th row when user tapped Image on button is hide and wh

    I Have a UITableView with 17 row. in last 17Th row i applyed cell.selectionStyle = UITableViewCellSelectionStyleNone;
    and in this row i also put UIButton with Image …
    my QUESTION IS that i want in 17Th row when user tapped Image on button. then Image is hide and when user again tapped then image is shown …
    so PlZ…help me how can i put logic..
    Thanks FrNdZZzzzz…

    Sign in:
    https://developer.apple.com/devforums/
    If you're not a developer, you need to join first:
    https://developer.apple.com/programs/register/

  • Different number of rows when add/delete the same table

    Hi,
    i've a problem in a select statement.
    My database is a 9.2.0.8.
    select *
    from  tab1 t1,
            tab2 t2,
            tab2 t3
    where t1.id_c1 = 1
       AND t1.id_c2 = t2.id_c2
       AND t1.id_c2 = t3.id_c2
       AND t2.id_init = 3693
       AND t3.id_init = 3892;
    936 rows selected.if i change the query in:
    select *
    from  tab1 t1,
            tab2 t2
    where t1.id_c1=1
       AND t1.id_c2 = t2.id_c2
       AND t2.id_init in ( 3693,3892);
    61132 rows selected.Any ideas? what's wrong??
    Tnx
    Edited by: 842366 on 10-ago-2011 3.10
    Edited by: 842366 on 10-ago-2011 3.10

    You can see the difference yourself with this sample test data.
    SQL> with t_data1 as
    select 1 as id_c1,2 as id_c2 from dual union all
    select 2 ,2 from dual
    t_data2 as
    select 1 as id_c2, 3693 as id_init from dual union all
    select 1, 3693  from dual union all
    select 1, 3892t from dual union all
    select 1, 3892 from dual union all
    select 2, 3693 from dual union all
    select 2, 3892 from dual union all
    select 2, 3892 from dual
    select *
    from  t_data1 t1,
            t_data2 t2
    where t1.id_c1=1
       AND t1.id_c2 = t2.id_c2
       AND t2.id_init in ( 3693,3892);
         ID_C1      ID_C2      ID_C2    ID_INIT
             1          2          2       3693
             1          2          2       3892
             1          2          2       3892
    SQL> SQL>
    SQL>
    SQL>
    SQL> with t_data1 as
    select 1 as id_c1,2 as id_c2 from dual union all
    select 2 ,2 from dual
    t_data2 as
    select 1 as id_c2, 3693 as id_init from dual union all
    select 1, 3693  from dual union all
    select 1, 3892t from dual union all
    select 1, 3892 from dual union all
    select 2, 3693 from dual union all
    select 2, 3892 from dual union all
    select 2, 3892 from dual
    select *
    from  t_data1 t1,
            t_data2 t2,
            t_data2 t3
    where t1.id_c1 = 1
       AND t1.id_c2 = t2.id_c2
       AND t1.id_c2 = t3.id_c2
       AND t2.id_init = 3693
       AND t3.id_init = 3892;
         ID_C1      ID_C2      ID_C2    ID_INIT      ID_C2    ID_INIT
             1          2          2       3693          2       3892
             1          2          2       3693          2       3892
    SQL> We see that in both the queries, the no. of column returned are different. In first it is 4 and in 2nd it returns 6.
    Now ask yourself, what is the use of this query, and how I am suppose to use the values returned and also what is the purpose for each value.
    Once you have the answers for these questions, the requirement becomes more clearer, doubts vanish and more often you can do things yourself.

  • SUM function resulting WRONG values when some cell contains a string

    A very strange problem that can result in wrong financial calculations and big mistakes...
    If we have SUM function for some range of cells and one of them is treated as text string (I mean it's number in fact but Number is sure it's text string). than SUM function calulates ALL cells except this sell silently without errors and results in wrong result.
    For example we have cells and values
    A B
    =====
    1| 15 USD
    2| 0 USD
    3| 37 USD
    4| 1 USD
    5| 3 USD
    here the function SUM(B1:B5) should provide the result "56 USD"
    But if cell B5 is treated as text string (it can be still displayed as "3 USD" so we don't know it's treated as text string for some reason) than SUM(B1:B5) swill answer "53 USD".
    The problem is we DON'T know cell B5 is treated as text and we are fully sure that we have the correct sum of all 5 cells, in reality we see sum of 4 cells only....
    I think anybody working with financial or other important data can imagine how dangerous this SUM behaviour is.... I encountered several times that when importing data from Excel or by other ways numbers are imported as text strings. So if I have a lot of cells I'm not sure if all those cells are correctly styled or some of them for some unknown reason is treated as text string.
    In Microsoft Excel there is a very right solution. In MS Excel if any cell in the SUM is wrong format the SUM function simply provides error as a result. But in Numbers SUM doesn't tell us about error, it simply provides us with a wrong result!
    With formal logic the way SUM works in Numbers is total idiotism. If I ask to SUM B1:B5 than I definitely ask to sum ALL 5 cells, not 4, not 3, not 6 but 5 definite cells. If Numbers can't sum those exactly those 5 cells the only answer of the function should be ERROR.
    But Apple Numbers answers me some result of summing those cells that it's able to sum. Apple Numbers SUM function is not confused that I asked for SUM of 5 (not 4 or 3) cells and I expect to have this sum as a result.
    In fact Apple uses the right logic when we use another formula. If we use =B1B2+B3+B4B5 and any cell contains text string that we'll have error result the sam as in Microsoft Excel. So in this example Numbers behaves correctly.
    So why SUM (B1:B5) can provide totally different result as =B1B2+B3+B4B5?

    alexb2 wrote:
    So when I set format for my number as my local currency it's displayed as 123 XXX (XXX is my currency but it's not in latin). I see it's not only displayed but also stored as 123 XXX. That's different from Excel that stores only numbers in cells and shows number with prefix or suffix - Numbers storex number with prefix or suffix.
    No, you get this behavior because the original sheet is displaying values as currencies. I assumes that the import process pass it as a string because he doesn't recognize it as a currency value. As far as I know, Numbers stores the currency entries as a pure number and an indicator of the used currency.
    Here is an example.
    (a) the description of the numerical value (I underlined it: 456)
    <sf:number-cell sf:flags="4" sf:value="456" sf:col="1" sf:row="2">
    <sf:cell-style-ref sfa:IDREF="SFTCellStyle-46"/>
    <sf:content-size sfa:w="58.659881591796875" sfa:h="14"/>
    </sf:number-cell>
    (b) the description of the format (I underlined the used currency: XAM)
    <sf:cell-style sfa:ID="SFTCellStyle-46" sf:cell-style-default-line-height="12" sf:parent-ident="tabular-Basic-body-cell-style-id">
    <sf:property-map>
    <sf:SFTCellStylePropertyNumberFormat>
    <sf:number-format sfa:ID="SFTNumberFormat-23" sf:format-type="1" sf:format-string="#,##0.00 &#xA4;;-#,##0.00 &#xA4;" sf:format-decimal-places="2" sf:format-currency-code="XAM" sf:format-negative-style="0" sf:format-show-thousands-separator="true" sf:format-fraction-accuracy="-3" sf:format-use-accounting-style="false"/>
    </sf:SFTCellStylePropertyNumberFormat>
    <sf:SFTCellStylePropertyImplicitFormatType>
    <sf:number sfa:number="256" sfa:type="i"/>
    </sf:SFTCellStylePropertyImplicitFormatType>
    <sf:SFTCellStylePropertyFormatType>
    <sf:number sfa:number="257" sfa:type="i"/>
    </sf:SFTCellStylePropertyFormatType>
    </sf:property-map>
    </sf:cell-style>
    Of course, if the original currency string is not recognized, it can't be described as such a feature and the value is treated as a simple string.
    So may be at some moment my 123 XXX is treated like string value.
    Yes, find and replace is a nice tool when importing data - thanks for the tip. the last problem is with already Numbers files that were imported not today (or even createde as Numbers file) where some cell becomes string value after some editing.
    Here again, if you edit a currency string and replace it to a not recognized one, the result will be logically a string.
    There is an other way to give this result:
    copy a value from a cell formatted as XAM currency (just an example)
    paste it in a cell whose format is currency Euro (once again it's just an example).
    The result will be a string.
    The culprit is not the program, it's the user.
    I had several times this situation and last time I found error only because I have my budget in 2 programs - in Numbers and in another special budgeting program. As each program has advantages I have in fact 2 instances of the same budget.
    And when I changed some string in Numbers and another program I noticed the sum is different. I was sure it's another program somewhere buggy but noticed than Numbers simply ignores one of the budget strings and sums without it... In fact it was even not the string I changed, I remember I changed the buggy string about a week ago but I haven't compared budgets that time so my budget had a mistake for some time till I noticed it. If I used only Numbers without copy of budget in another program may be even today I won't notice the mistake.
    The same situation happened not once.
    I think that the choice made by Apple for SUM() is correct. You feel that it is wrong. It's useless to debate more, we will not change the behavior of the function.
    I try to give a workaround.
    The neater one is to add columns as I described in my first response.
    The given formula will clearly flag cells which aren't containing numerical values. If you move the SUM from the original range to the new one, the oddities will be flagged automatically.
    Here is an alternate workaround:
    The currency is XAM.
    In B4 I introduced a typo so the value is no longer a numerical one.
    Given that, the sum in the footer doesn't count the 34 (which is the normal behavior).
    In column C1 I entered =1*B
    which flagged the bad cell.
    The alternate is to use an auxiliary table like aux1
    In A1 I entered:
    =IF(ISERROR(INDIRECT(ADDRESS(ROW(),COLUMN(),,,"main"))),"",IF(ISBLANK(INDIRECT(A DDRESS(ROW(),COLUMN(),,,"main"))),"",1*INDIRECT(ADDRESS(ROW(),COLUMN(),,,"main") )))
    Exactly the same formula in B1, C1, D1, …
    So, the table will automatically grab the contents of the main table (just take care to insert more columns in aux1 than in main)
    In the footer row of aux1, insert a sum formula for columns where there is required.
    Looking at this footer will flag columns where a value may be "wrong" so, it will be necessary (but easy) to scan the column's content to find the red triangle(s).
    Yvan KOENIG (from FRANCE lundi 13 octobre 2008 13:27:40)

  • HOW DO I WRITE A STRING TO FLAG WHEN A CELL HAS OR 17 CHARACTERS?

    HOW DO I WRITE A STRING TO FLAG WHEN A CELL HAS < OR > 17 CHARACTERS?

    Hi Tassytiger,
    A "string" is just a string of characters. Examples are qwerty, 123abc, 43πbono. there are several ways to write one. A more precise description of your end goal might help answer "How do I write a string."
    To the current version of your specific question:
    What I actually need to achieve is a situation where, when I enter <17 Char. or >17 Char.
    inadvertently then tab to the next cell, I get the following response in the active cell:
    The cell immediately below "17 character ID" displays an error triangle. These are shown when the formula in a cell produces an error message. they are system generated and require two things to happen: The cell must contain a formula AND something must have happened to cause that formula to produce an error.
    I don't wish to add any columns to my s/s but would like to apply the rule to the current column just as i would change the text or fill colour.
    The difficulty there is that a cell may contain entered data, OR it may contain a formula. You want to enter data (a string of characters) and you want to produce an error triangle if that string has more or fewer than 17 characters. Evaluating the length of the string requires a formula. Getting the string into the cell requires direct entry (in your scenario). The two are not compatible within the content of a single cell.
    Terry's example uses a formula in column B to measure the length of the string in column A. If the length is 17 characters, the IF statement produces the empty string ( "" ), and the cell in column B appears empty. If the string is not 17 characters long, the IF statement produces the string "Not 17 Chars!"
    His formula is easily changed to produce an error triangle in place of "Not 17 Chars!":
    B1: =IF(LEN(A1)=17, "",17/0)
    In this version, if the length of the string in A1 is not 17 (characters), the formula will attempt to divide 17 by 0, and will produce a 'division by zero' error.
    But, as with all of the other suggestions, this one will require a new column to provide space for the formula and it's result.
    Changing the text or fill colour can be done using conditional formatting. Changing content of the cell (eg. choosing between the entered string of characters and the error triangle) cannot.
    Conditional formatting rules compare the content of a the cell to be formatted with either a fixed value (written into the rule) or to the content of another cell. In my examples (and in Ian's examples) above the rules compared the content of the cell to be formattes to the number '17'. The number was generated by a formula which measured the length (in characters) of the text in the cell where the ID was entered, and reported that length as a number.
    A way to show a red triangle using conditional formatting is to use Image fill as the default fill of the cell, then use a colour fill as the conditional fill to hide the trialngle when the conditions are met. Here's the same example as used above, with this technique applied to column B:
    The same formula is used in column B as in my previous example. Type size is set to 1 point (note the black dot, visible in the green filled cell) to keep the numbers from obscuring the triangles. The triangles are shapes, inserted onto the canvas (not into the table) from the Shapes button in the tools. Their fill colour has been changed to red, a 12 point exclamation sign character ha been typed into the shape and its text colour set to white, and the triangle's size has been reduced as much as possible without triggering the overflow symbol (boxed plus sigh) to appear.
    The triangle image (and some of its white background) was made into a png image file by taking a screen shot, and the image was inserted into all of the cells in the body rows of column B as an image fill, using the Graphic inspector. The conditional format rule below was then applied to the body row cells in column B.
    Finally, you can apply conditional formatting to the cell containing the ID. This will still require another column to contain the values to which the content of the ID cell will be compared, but that column may be hidden, or may be located on a separate table.
    The method requires an second cell for each cell contining an ID, and uses a formula that makes the contents of the second cell the same as that of the ID cell IF the ID cell contents are 17 characters long.
    Here's a sample. Table 1 is column A of the same table as above. Table 2 is a single column table holding the comparison cells.
    As in the example above, the cells on table 1 were given an image fill. The conditional format rule replaces that with a white colour fill when the cell contains the same text as its partner cell in Table 2.
    This is the rule for cell A2. In A3, the cell reference is to Table 2::A3, and in A4, to Table 2::A4. The cell references in conditional format rules must be edited individually.
    Regards,
    Barry

  • White Space in SubReport column when one cell grows

    Hello, I have a report with a sub report embedded in a column. The sub report contains a table with 3 cells. All cells have the option CanGrow set to True.
    I have an expression on the sub report that fills in the background color of the table depending on values in the subreport query that are not contained on the main report.
    When one of the cells within the subreport grows, there is white space (as shown in the image) in the cells that do not grow. I need to have CanGrow set to true so that all of the data can show.
    How can I make sure this white space is filled in on all of the cells? Short of merging all of the fields into one cell, I do not know what to do. And merging the cells will be a pain since the one cell in the subreport is a link.
    Mike Karls

    Hi Mike,
    According to your description, you want to avoid white space when some cells grows in your subreport. Right?
    In this scenario, we are how you set the background color for your cells in subreport. Generally, if that 3 columns are within one tablix, all 3 cells will grow simultaneously. As we tested in our local environment, we just need to apply condition on entire
    row to specify different background color, it will not have extra white space as one cell grows. Here are some screenshots for your reference:
    As you can see, all the 3 columns will grow automatically.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to hide rows with merged cells?

    I would like to know how to hide rows on numbers with merged cells, could do it normally at excel but I am not being able to do it at Numbers.
    thanks!

    Felipe,
    To hide a row with Merged Cells, Un-Merge first, then Hide. Select the Merged Cells and Table > Unmerge.
    Note that this is only a problem with vertically merged cells when you want to Hide a Row.
    If you want to Hide a Column, you can't have a Horizontal Merge that involves that Column.
    Jerry

  • I need to divide selected row into multiple rows when i navigate  ADF 11g

    Hi
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I need to divide selected row into multiple rows when i navigate to other page . Scenario - in first page i'm displaying some records with columns like empno , empstatus , empworkdepts ,curdepts
    Here empworkdepts gives the numeric number like no of departments work shifts 3 or 4 or 5. when i select any particular employee and fire next button to navigate next page.I have to divide the selected employee with same information into multiple times based on the empworkdepts value.
    empno empstatus empworkdepts curdept
    001 eds 2 TS
    002 hr 1 FO
    003 eds 4 TS
    *004 eds 3 TS*
    now i selected employee 004 , when i navigate to next page.
    Empno EmpStatus EmpWorkDepts CurDept
    004 eds 3 TS
    004 eds 3 TS
    004 eds 3 TS
    i did with java code in bean .but not stable .
    any help............
    thanks advance.............
    Edited by: user9010551 on May 5, 2010 10:48 PM
    Edited by: user9010551 on May 10, 2010 11:31 PM

    user9086775 wrote:
    Hi Experts,
    I have a requirment where i need to fetch parts of a single row into multiple rows from a singlt Query, i am sure it is possible using Pivots but just cant figure out an approach. Any help on this is highly appriciapted.
    Requirment:
    This is a sample set record in a table
    Product     Sub Product          Name    Age
    New Car    Nissan                   Tom        49
    New Car    Nissan                   Jack         36
    Old Car      Audi                     Sam         24
    Old Car      Jaguar                  Pint          26
    Old Car      Audi                     Smith       41
    I need to be able to fetch the above data in the below fashion
    Product     Sub Product          Name    Age
    New Car
    Nissan
    Tom        49
    Jack        36
    Old Car     
    Audi            
    Sam        24
    Smith      41
    Jaguar                   Pint         26Please help with ideas as to how can i achive the above without using PLSQL.
    Thanks in advance!You should be doing this in the client on not in the DB. Use the reporting tool that you use to do this.
    For example if you are in SQL Plus you can use the BREAK command.

  • Error when adding the sums of time duration when 1 cell value is 0

    I am creating a very basic spreadsheet on my iPad to be used as a time clock by my 3 employees.  Columns A &amp; B are times in and out respectively and column C is the duration (B-A.)  Rows 1-6 are Monday-Saturday and row 7 (specifically cell C7) is the sum of the durations of each day.   So far, so good.  Here's the problem...I would like to keep the same formula (C=B-A) in each cell from C1 to C6 regardless of whether or not that employee actually worked that day.  When nothing is entered into columns A or B, the resulting value for column C is 0.  When the value of any cell in column C is 0, the formula in cell C7 (=sumC1:C6) results in an error.  Any ideas???
    Also, is it possible to cut or delete the text of a cell and leave the cell formatting (i.e. fill colors, text color,  boarder, etc)?
    Thanks again,
    Matt

    "When the value of any cell in column C is 0, the formula in cell C7 (=sumC1:C6) results in an error.  Any ideas???"
    Hi Matt,
    The error is that SUM cannot deal with a collection of values that contains both durations (eg. 1h 12m) and numbers ( eg. 0 ).
    Don't let the value in any cell in the range be 0.
    Your formula in column C is now: =B-A
    If both B and A are empty, the result will be zero.
    Use this revised formula: =IF(OR(LEN(A)<1,LEN(B)<1),"",B-A)
    If either of the cells required to complete the subtraction has no data, the formula rturns a null string—a text value, which will be ignored by SUM. When both A and B contin Date and Time values, the formula returns a duration, and SUM will work.
    Regards,
    Barry

  • TS3899 I have an iPhone 5 and it shows on the Mail Icon that I have over 3,000 emails to read but the number continues to increase even when I have read the email.  I thought  once you have read an email it drops off the count of "new emails"

    I have an iPhone 5 and it shows on the Mail Icon that I have over 3,000 emails to read but the number continues to increase even when I have read the email.  I thought  once you have read an email it drops off the count of "new emails"

    The received emails should show in two locations:
    1. In the All Inboxes tab of Mail.
    2. The Inbox for each mail account,
    If your emails are not showing in these locations try quitting the mail app and then reset your iPhone.
    Go to the Home screen and double click the Home button. That will reveal the row of recently used apps at the bottom of the screen. Tap and hold on the app in question until it wiggles and displays a minus sign. Tap the minus sign to actually quit the app. Then tap anywhere on the screen above that bottom row to return the screen to normal.
    To reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Associating/linking whole rows with individual cells

    I have a tracking document with multilple tables within the same document. The first table is a summary sheet. When I make changes to this table I would like the changes to take effect on all subsequent tables.
    I have, with help on here, made some progress using the INDIRECT command done this.
    However I want the whole row to change position with the cell containing the INDIRECT command.
    Any ideas?????
    DAve

    Sorry here's the link
    https://discussions.apple.com/thread/5139589?tstart=0
    Dave

  • Number of currently displayed rows in report with pagination?

    Maybe I'm thinking to complicated, but ...
    In my report I use the HTMLDB_ITEM.CHECKBOX function in order to display a checkbox for each row:
    HTMLDB_ITEM.CHECKBOX(1,"ID",NULL,:P311_ASSIGNED,':') " "
    Some of the checkboxes are selected depending on whether there is an entry for them in a database table.
    As the report returns hundreds of rows, I use pagination (e.g. 15 rows per page).
    After checking/unchecking the checkboxes and submitting the page by clicking the save button, I want to do the following: For each row CURRENTLY DISPLAYED on the screen (1) check, whether its checkbox is currently checked or not (2a) If it is checked and there is not yet an entry -> add row to the db table (2b) If it is unchecked and there is an entry in the db table -> remove row from db table.
    How can I, on the server side, find out which rows (row ids) are currently displayed (using pagination), so that I check each of the currently displayed row ids for their existence in the database table? Is there any item stored on the server side, which tells me the row number of the first row currently displayed? Is there an item I can refer to, which tells me the amount of rows, which are displayed on one page?
    Your help would be very much appreciated!
    Konrad

    Hi Konrad,
    I will jump in. :-) Just have a few minutes before a meeting.
    I think you don't have to make it that complicated, where you have to know the current pagination.
    1) Your HTMLDB_ITEM.CHECKBOX has to contain as checked value #ROWNUM# as the row selector would do it.
    2) You have to create a hidden item where you store your customer id
    3) create another hidden item where you store if the customer has already the assignment
    4) In your process you are now able to loop through your arrays.
    DECLARE
        vRowNumber BINARY_INTEGER;
        vFound BOOLEAN;
    BEGIN
        -- insert new event assignments
        FOR ii IN 1 .. WWV_Flow.g_f01.COUNT -- your checkbox
        LOOP
            vRowNumber := WWV_Flow.g_f01(ii);
            -- no assignment yet?
            IF WWV_Flow.g_f03(vRowNumber) IS NULL -- your hidden field where you store if you have an assmnt
            THEN
                INSERT INTO xxx VALUES (WWV_Flow.g_f02(vRowNumber)); -- your customer id
            END IF;
        END LOOP;
        -- delete old event assignments
        FOR ii IN 1 .. WWV_Flow.g_f03.COUNT -- your hidden field where you store if you have an assmnt
        LOOP
            -- only if the event was already assigned
            IF WWV_Flow.g_f03(ii) IS NOT NULL
            THEN
                vFound := FALSE;
                FOR jj IN 1 .. WWV_Flow.g_f01.COUNT -- your checkbox
                LOOP
                    -- is the event still checked?
                    IF WWV_Flow.g_f01(jj) = ii
                    THEN
                        vFound := TRUE;
                        EXIT;
                    END IF;
                END LOOP;
                IF NOT vFound
                THEN
                    DELETE xxx WHERE CUSTOMER_ID = WWV_Flow.g_f02(ii);
                END IF;
            END IF;
        END LOOP;
    END LOOP;Haven't tested the code, but I think it should show the idea.
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

Maybe you are looking for

  • Drag and Drop Image Sequence Issue

    Hello, Im having trouble dragging and dropping an image sequence folder. The folder drags in perfectly and the window even highlights but nothing happens. However when I go through FILE and IMPORT i do have success bringing in the image sequence as c

  • How can i disable scrolling on firefox mobile ?

    I want to disable scrolling for my responsive website, when a colorbox (like a lightbox) is layered over the page (as div, not as iframe). Scrolling should only be available for the colorbox-div, but not for body or html. Therefore, I set "html" and/

  • Replay Button for SWF animation

    Situation: Imported animated SWF file into slide. Using Captivate Back and Next buttons to control navigation. I want to add a "Replay Demo" button for the animation SWF file. Is this possible through Captivate (or Flash)? I don't want the continuous

  • Background alignment?

    Is there a way to vertically align a background image in a table cell?

  • Reader version 9.4.4 update keeps coming up

    I have Mac OSX 10.6.7 and Adobe Reader version 10.0.3 but I keep getting an update reminder for 9.4.4. I have updated this and I alays cancel but everytime there is an Adobe update this one also appears. What do I do?