Hide value of row-item(in crosstab Template) if same with previous row

Hi,
I've one custom crosstab using the following xml.
group outside crosstab- GTOP - on M_KOG3_CONC
row-item1 -> MARKT_LINE_CONC (group G1)
row-item2 -> S2_SEGMENT2 (group G2)
row-item3 -> RIM_IN_INCH (group G3)
datapoints - QTY_TIRE_SO_FTP, SHARE_FITTED_TIRE, POLICY_FITTMENT_FTP
end G3
<subtotal on S2_SEGMENT2> end G2
<subtotal on MARKT_LINE_CONC> end G1
<grand total on M_KOG3_CONC>
end GTOP <split by page break>
Now for M_KOG3_CONC=574, for MARKT_LINE_CONC='R02: CES - New Tire' and S2_SEGMENT2='CP20: Corporate PKW', 3rows will come for 3 RIM_IN_INCH values. I want to display values of S2_SEGMENT2 and MARKT_LINE_CONC and top-border of the cell only when it changes ie when a group starts.
Cell top-border I couldn't display conditionally. For the value, in formfield of MARKT_LINE_CONC and S2_SEGMENT2 I used
<?xdofx:MARKT_LINE_CONC "third_bracket"not(.=preceding::MARKT_LINE_CONC)"third_bracket"?>
<?xdofx:S2_SEGMENT2 "third_bracket"not(.=preceding::S2_SEGMENT2)"third_bracket"?>
but it hides MARKT_LINE_CONC and S2_SEGMENT2 value for second set of M_KOG3_CONC(=550: INDEP. SMALL) as MARKT_LINE_CONC and S2_SEGMENT2 are coming common from previous M_KOG3_CONC(=574: CHARTERWAY).
Can anyone please give me alternate form field code satisfying this requirement.
<?xml version="1.0" encoding="UTF-8" ?>
<DataSet>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
<RIM_IN_INCH>15</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>2415</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>3.96226415094339622641509433962264150943E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
<RIM_IN_INCH>16</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>1442</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>2.36587366694011484823625922887612797375E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
<RIM_IN_INCH>17</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>10</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1.64068908941755537325676784249384741592E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>3867</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>6.34454470877768662838392124692370795734E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
<RIM_IN_INCH>15</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>576</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>9.45036915504511894995898277276456111567E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>2.60416666666666666666666666666666666667E-02</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
<RIM_IN_INCH>16</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>235</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>3.8556193601312551271534044298605414274E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1.82978723404255319148936170212765957447E-01</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>811</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1.33059885151763740771123872026251025431E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>7.15166461159062885326757090012330456227E-02</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
<RIM_IN_INCH>17.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>327</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>5.36505332239540607054963084495488105004E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
<RIM_IN_INCH>19.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>350</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>5.7424118129614438063986874487284659557E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
<RIM_IN_INCH>20</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>6</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>9.84413453650533223954060705496308449549E-04</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
<RIM_IN_INCH>22.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>480</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>7.87530762920426579163248564397046759639E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>1163</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1.90812141099261689909762100082034454471E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH>16</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>39</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>6.39868744872846595570139458572600492207E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH>17</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>2</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-04</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH>17.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>54</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>8.85972108285479901558654634946677604594E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>3.7037037037037037037037037037037037037E-02</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH>19.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>20</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH>22.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>58</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>9.51599671862182116488925348646431501231E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>173</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>2.83839212469237079573420836751435602953E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1.15606936416184971098265895953757225434E-02</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
<S2_SEGMENT2 />
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>6014</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>9.86710418375717801476620180475799835931E-01</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>8.46358496840705021616228799467908214167E-01</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
<RIM_IN_INCH>22.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH>17.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>29</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>4.75799835931091058244462674323215750615E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH>19.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>18</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>2.95324036095159967186218211648892534865E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH>22.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>21</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>3.44544708777686628383921246923707957342E-03</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>68</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1.11566858080393765381460213289581624282E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2 />
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>81</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1.32895816242821985233798195242001640689E-02</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>1.60493827160493827160493827160493827161E-01</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
<MARKT_LINE_CONC />
<S2_SEGMENT2 />
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>6095</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>8.37243642329778506972928630024610336341E-01</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>550: INDEP. SMALL</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH>22.5</RIM_IN_INCH>
<QTY_TIRE_SO_FTP>24</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>550: INDEP. SMALL</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>24</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>550: INDEP. SMALL</M_KOG3_CONC>
<MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
<S2_SEGMENT2 />
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>24</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
<ROW>
<M_KOG3_CONC>550: INDEP. SMALL</M_KOG3_CONC>
<MARKT_LINE_CONC />
<S2_SEGMENT2 />
<RIM_IN_INCH />
<QTY_TIRE_SO_FTP>24</QTY_TIRE_SO_FTP>
<SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
<POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
</ROW>
</DataSet>
Kind Regards.

Can anyone please help me on this issue?
Regards.

Similar Messages

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • Hide or delete row based on it's value?

    If I have a column called "Name" and I want to delete or hide all the rows which include the name "smith" or alternatively all the rows with "Miss" how do I do this?
    I know I can manually search to find the name "smith" but I have 60,000+ rows in my spreadsheet.
    Format:
    Column 1
    Row 1: Miss J Jones
    Row 2: Mr P Smith
    Row 3: Mr C Widget
    etc...
    Thanks.

    Here is an AppleScript whic is able to delete the rows matching your criteria.
    --[SCRIPT removematchingrows]
    Enregistrer le script en tant que Script : removematchingrows.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner une cellule de la colonne dans laquelle le script cherchera le mot clé.
    menu Scripts > Numbers > removematchingrows
    Tapez le mot à chercher puis cliquez OK.
    Le script supprimera les lignes dont la cellule de la colonne sélectionnée contenait le mot saisi.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: removematchingrows.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select a cell in the column in which we will search a key word.
    menu Scripts > Numbers > removematchingrows
    You will be asked to type the word to search.
    Type it then click OK.
    The script will remove the rows whose the cell of the selected column contained the choosed word.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/03/24
    --=====
    on run
    if my parleAnglais() then
    set theKey to text returned of (display dialog "Enter the word to search …" default answer "At least one cell of the column in which we will search must be selected.")
    else
    set theKey to text returned of (display dialog "Saisir le mot à chercher …" default answer "Une cellule de la colonne dans laquelle il faut chercher doit être sélectionnée.")
    end if
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    set nbRows to row count
    repeat with r from nbRows to 1 by -1
    set maybe to (value of cell r of column colNum1) as text
    if words of maybe contains theKey then
    remove row r
    end if
    end repeat
    end tell -- Numbers
    end run
    --=====
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
    apply to named row or named column !
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    set nbCols to column count
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    At this time, I don't know how to Hide a row thru AppleScript.
    Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 17:02:20

  • Result row does not hide value

    Hi all,
    I have some calculated key figures that are using formula variables to get dates to do calculations on.
    Since summing up date values does not lead to anything meaningful, I selected the 'Hide' value in the 'Calculate results as...' section.
    However, the results row is still showing an 'X' in this column when I run the query.
    I have one calculated key figure for a date using this same method (formula variable from an infoobject) and the result row is hidden correctly.
    Does anyone have any idea on why the result row would still display even though it supposed to be hidden?
    Thanks in advance.

    result rows needs need to be suppressed for characteristic properties.
    in query designer , click on characteristics in your reports ( i.e  rows ) goto display property supress the result rows..

  • How to Visible/Hide an Item based on the value of another Item

    Hi
    I need to visible and hide a textitem based on the value of another item.This form has 3 blocks, and the both item is in the first Master Block.
    My code is:
    if :RECORDTYPE=7 then
         Set_Item_Property('BLOCK.ITEM',VISIBLE,PROPERTY_TRUE);
         Set_Item_Property('BLOCK.ITEM',ENABLED,PROPERTY_TRUE);
    ELSE
         Set_Item_Property('BLOCK.ITEM',VISIBLE,PROPERTY_FALSE);
    Set_Item_Property('BLOCK.ITEM',ENABLED,PROPERTY_FALSE);
    :BLOCK.ITEM:=NULL;
    end if;     
    I wrote the code in the Validate Trigger, but not working when moving Next Record & Previous Record
    Thanks in advance
    Rizly

    Read the 'Propagation of Property Changes' section towards the end of the page for Set_Item_Property in the online help. I'm not sure what you mean by locking automatically but perhaps it's because of this.
    You should also ensure the item you're setting to invisible is not the current item (check :system.cursor_item and go to a different item if necessary).

  • How to get a value from one item into another

    How can i get value from one item into another item.
    Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
    How can i do this?
    Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.

    Hi Fredr1k,
    Use the V() function from pl/sql.
    e.g. V('P3_MY_ITEM')
    will return the value of that page item.
    As long as the pl/sql is called from within the Apex environment.
    Regards
    Michael

  • Passing sql report query field value to hidden item in javascript

    I have sql report which has in each row one html button. Let us say that query SHOULD look like (two columns, to be easy to get the point):
    select 1 SECURITY_ID
      , '<input type="BUTTON" value="Top10" onClick="javascript:Top10Click ('||SECURITY_ID||');" >' BTN
    FROM DUAL;
    function Top10Click (vValue) {
      html_GetElement('P31_PROCESS_VALUE').value = vValue;
      doSubmit('GO_BACK');
    } <br><br>
    where P31_PROCESS_VALUE is hidden item where i want to store value of row where click happened.
    <br><br>
    In every button i want to pass row value "SECURITY_ID" to Top10Click function for each row differently.
    <br><br>
    Problem is that when I place double qoute then js is not working, else js is ok but "SECURITY_ID" is passed as constant not as live SQL value.
    <br><br>
    Any help...THX!
    <br>
    Demo is on oracle:
    http://htmldb.oracle.com/pls/otn/f?p=26216:1
    Workspace entry:
    WK: FUNKY
    UN: [email protected]
    PW: qwertz

    I have tried to unify the solution, so it looks like:
    select 1 SECURITY_ID
      , '<input type="BUTTON" value="Top10" onClick="javascript:Top10Click ('||'&quot_X;'||SECURITY_ID||'&quot_X;'||');"  >' BTN
    FROM DUAL;change '&quot_X;' (remove "_X" part ... so it can be seen in HTML properly!
    THX Denes for great ideas...

  • How to change the Destination URI value of a item table at run time

    I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Controler of the page?
    I'd really appreciate any suggestion.
    Thanks in advance.

    Hi,
    Thanks for the help, but I still dont know where I should to use setAttributeValue(DESTINATION_ATTR,OADataBoundValueViewObject());
    All examples that I saw till now here, suggestes to change something in the page in Controller but based on something entered in the page. In my case is IN to OUT, I will render some item table with a specific value parameter based what is in the database. Being more specific, I have a html table and one column Col1 has a value and it will have a DESTINATION URL if another column Col2 is Null. I believe I would have to check somewhere if the Col2 is null or not and change the DESTINATION URL property.
    Thanks again..

  • How to retain value in LoV item in Tabular Form, after Page Refresh

    Hi,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, 2nd item(column) in tabular form, that LoV should get populated based on user's selection value in first item LoV.
    1. So how do I refer to the value, that user selected in first item's LoV? I will have to use this value as reference in LoV query of my 2nd item ( on this tabular form)
    2. Everytime I select value in first item LoV, page gets refreshed, as my requirement is to calculate 2nd item's LoV based on selected value in first item. So after this page refresh, first item LoV loses its value that was selected before the page refresh happened. So how do i retain this value in first item LoV? I have an unconditional process, that on every submit(refresh) of page, I set all my items with their corresponding values. But problem is what do i mention there to refer to this first item ( of type LoV) of tabular form?
    I looked in view source of my page, this item is referred as f03.
    So i used "apex_application.g_f03", to set this item to its value, in my uncoditional submit process. But it did not work. I tried to refer this item as "f03" in this unconditional submit process. But still it did not help, the selected item loses its value after page refresh(submit).
    Please help.
    Thanks and Regards,
    Ravi.

    Hi Rave,
    You will have to use Javascript and Ajax to change the values as ApEx submissions will lose your results unless they are saved into the database.
    Remember, that as you are using a tabular form there will be lots of items called f01, fo2, fo3 etc on the page (one per row).
    Regards
    Michael
    Edited by: MKii on Jun 4, 2009 10:13 AM

  • Adobe Form - Hide a table row if a condition met

    Hi Helper
    I am learning how to use Adobe Form - and I am trying to hide a table row if a condition is met by using Formcalc/Jave script - but I donot know how - I was told that I can use "....presence = 'hide'  " property in on of the event(?) but donot know how to write the qualified name for the varable row and what event to use. Could someone please show me how
    Points will be rewarded.
    Thanks

    Hi Liem,
    Here is some more information:
    1)
    Accessing data in Table Cell
    xfa.resolveNode("xfa.data.my_data.tableData[" + this.parent.index  + "].column1").value
    2)  Accessing data nodes in Context
    xfa.datasets.data.my_data.second_node.an_attribute.value == "3"
    I think you will find the WebLog below very useful for your requirements.
    /people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms
    -regards,
    harman

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Conditionally set page item based on value of another item

    Hello,
    I have a form that is used to create/apply changes to records. There is an application item (APP_ITEM_PROFILE)
    that is set on login which contains a value for the user's Profile ID. This Profile ID is used through out the
    application for authorizations (conditionally present tabs, etc).
    I've set a page item on the form equal to APP_ITEM_PROFILE so that the record is stamped
    with that user's profile ID when they create a record. Users with different Profile IDs may later make changes to
    the record but I want to keep the original Profile_ID on the record.
    I am trying to populate the Profile ID conditionally in the form based on the existence of a
    record ID. If there is no ID (a new record is being entered), then I want the
    Profile ID to be that of the current user (APP_ITEM_PROFILE). If there is an ID (modification is
    being made to an existing record), then I want the keep the Profile ID that was originally saved
    with the record in MyTable.
    I have this as the source for :P11_PROFILE_ID. The type is PL/SQL Expression or Function, Always, replacing... but it
    is not working (page not found when page is run):
    begin
    if :P11_ID is not null
    then
    select PROFILE_ID
    into :P11_PROFILE_ID
    from MyTable
    where ID = :P11_ID;
    elsif :P11_ID is null
    then select nv(':APP_ITEM_PROFILE') into :P11_PROFILE_ID from dual;
    end if;
    end;
    Item Descriptions:
    ID is the record ID.
    :P11_ID is the page item of the record ID (Display as Text, saves state).
    PROFILE_ID is the user's Profile ID.
    :P11_PROFILE_ID     is the page item of the user's Profile ID.
    :APP_ITEM_PROFILE is the user's Profile ID that is set on login.
    Any help is greatly appreciated.
    Thanks,
    Matt
    Update:
    I found one of Scott's answers:
    Using IF Else to determine the value of a Item
    and modified the above code to:
    declare l_ret number;
    begin
    if :P11_ID is not null
    then
    select PROFILE_ID
    into l_ret
    from MyTable
    where ID = :P11_ID;
    else select :APP_ITEM_PROFILE' into l_ret from dual;
    end if;
    return l_ret;
    end;
    It seems to be setting the Profile ID correctly when the ID is not null, but not when a new record is being created. In the latter case, there is no value.
    Edited by: mterlesky on May 11, 2009 11:02 PM
    Edited by: mterlesky on May 11, 2009 11:52 PM
    Edited by: mterlesky on May 11, 2009 11:53 PM

    Thanks. That is putting the value into the page item and session state but that value is not being saved when the record is created. I'm not sure why - here is part of the debug (the "Billing" table is the "MyTable" table in the previous posting). Any thoughts?
    On form, before submit:
    0.06: Saving g_arg_names=P11_PROFILE_ID and g_arg_values=112
    0.06: ...Session State: Saved Item "P11_PROFILE_ID" New Value="112"
    After Submit
    0.06: ...Session State: Save "P11_PROFILE_ID" - saving same value: "112"
    (validations not shown)
    0.10: Processing point: AFTER_SUBMIT
    0.10: ...Process "Get PK": PLSQL (AFTER_SUBMIT) declare function get_pk return varchar2 is begin for c1 in (select BILLING_SEQ.nextval next_val from dual) loop return c1.next_val; end loop; end; begin :P11_ID := get_pk; end;
    0.10: ...Session State: Save Item "P11_ID" newValue="452" "escape_on_input="Y"
    0.10: ...Do not run process "Get PK for CREATEAGAIN", process point=AFTER_SUBMIT, condition type=, when button pressed=CREATEAGAIN
    0.10: ...Process "Process Row of BILLING": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:BILLING:P11_ID:ID|IUD
    0.10: ...Process "Update TOTAL_HOURS": PLSQL (AFTER_SUBMIT) begin Update billing set TOTAL_HOURS = ((NVL(CD_90801_UNITS,0)*1.5)+ (NVL(CD_90804_UNITS_B,0)*.5)+ NVL(CD_90806_UNITS,0)+ (NVL(CD_90808_UNITS_B,0)*1.5)+ NVL(CD_90812_UNITS,0)+ (NVL(CD_90814_UNITS_B,0)*1.5)+ NVL(CD_90846_UNITS,0)+ NVL(CD_90847_UNITS,0)+ NV
    0.11: ...Process "Update TOTAL_UNITS": PLSQL (AFTER_SUBMIT) begin Update billing set TOTAL_UNITS = (NVL(CD_90801_UNITS,0)+ NVL(CD_90804_UNITS_B,0)+ NVL(CD_90806_UNITS,0)+ NVL(CD_90808_UNITS_B,0)+ NVL(CD_90812_UNITS,0)+ NVL(CD_90814_UNITS_B,0)+ NVL(CD_90846_UNITS,0)+ NVL(CD_90847_UNITS,0)+ NVL(CD_90853_UNITS,0)+ NV
    0.11: ...Process "G_TRANS_COUNT_ADD": PLSQL (AFTER_SUBMIT) begin :G_TRANS_COUNT := :G_TRANS_COUNT +1; end;
    0.11: ...Session State: Saved Item "G_TRANS_COUNT" New Value="1"
    0.11: ...Process "Email_Notification": PLSQL (AFTER_SUBMIT) declare l_body_html varchar2(4000); begin l_body_html := '<p>Billing ID '||:P11_ID||' was entered by '||:P11_PROV_NAME||'.'|| ' More transactions may have been entered by the provider after this one.'||'</p> <p><a
    Edited by: mterlesky on May 12, 2009 9:21 AM

  • Cannot set the default value of an item in the detailed table

    Hi,
    I have Master-Detail group, both are Table formats.
    I need to set the default value of an item in the details row to the value of an item in the selected row in the Master table.
    I tried Default Display Value=#{row.MasterItem}, but it seems it is trying to access current details row instead of the Master.
    I tried #{bindings.MasterGroupColumnName.inputValue}, but it does not work.
    Any ideas
    Thanks in advance
    Mohamed

    I think I now what I'm doing differently, I had the "New Rows" JHS property of the detailed table group "empty" instead of the default "2" value.
    It seems that "Default Display Value" expression works only for the new records specified in the "New Rows" property. But when I try to "Add" new record using the "Add Row" button, the new record inserted does not have the default values generated, only has values populated for the items of the FK (in the view link) but not the ones set through the property.
    I guess in a nutshell, how I can get the details item to behave like the FK columns?
    Thanks much
    Mohamed

  • Is it possible to hide the inbetween rows in jTable

    I want to Hide the particular Rows within a jTable. For example the first column of the jTable contains the Values are,
    1
    2
    3
    4
    5
    6
    7
    etc.,
    in an ascending order.
    I want to Hide the Even numher rows like 2,4,6,...etc.,
    Is it possible?

    Look at some of these they may help.
    Searched on "filter jtable"
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=filter+jtable&subCat=&site=dev&dftab=&chooseCat=javaall&col=developer-forums
    rykk

  • Hide values for certain condition types in Quotation Saleorder and Invoice

    Hi All,
    I have written code to hide values for certain condition types in LV69AFZZ,
    this works fine in the ITEM LEVEL.
    But for the same condition types, I could not hide the values in the HEADER LEVEL.
    Unless I hide it at header level also, this is useless.
    Please guide me how to do it.
    Thanks & Regards
    Pradeep

    Hi,
    We have been using FORM USEREXIT_FIELD_MODIFICATION of LV69AFZz for item level & FORM USEREXIT_FIELD_MODIFIC_KOPF of LV69AFZZ for hiding heade level conditions.
    I hope this helps,
    Regards
    Raju chiutale.

Maybe you are looking for

  • Display won't sleep and screen saver won't sart

    I upgraded to the new OS and the display won't sleep and screen saver won't come on. Help please.

  • Relocating and organizing downloaded music into "My Music"

    I recently just switched to a mac and I'm having a problem getting Itunes to organize my downloaded music. I have done a search, but haven't found a previous post with my problem. With Itunes on Windows XP, I could download a song into any folder, wh

  • Can I use Oracle APEX with MySQL Database

    Hi All, We are looking to create a performance dashboard using Oracle APEX for our client, but the application database is MySQL. Is it possible to create reports in APEX using data from MySQL database? If yes, are there any specific steps to be foll

  • Massive bip 11g download/upload

    Hi i have to move all our reports (data models and rtf templates) from our test environment to production. As there are a lot of objects i'm wondering if there is a way to do a massive download and upload instead of doing one by one. Thanks

  • DeskJet 3650 background color printing in FastDraft

    I need help finding a way of printing the alternating color backgrounds in Office 2007 (especially Access alternating report backgrounds) using my DeskJet 3650 printer using the FastDraft print quality option. Any help would be appricateed. Thanks.