Bell on last or first record

I have a last record button and a previous record button and I want when the user reaches the last or first record that a beep occurs. Is there a way to do this cause I put the bell before or after the last_record statement and it didn't work.
Any suggestions?

Hi...
Try This.
--- On The First Record Button---
First_Record;
Bell;
--- On The Last Record Button---
Last_Record;
Bell;
Bye

Similar Messages

  • Next,previous,last, and first record

    dear all masters
    plz help me my code dont work
    i used button when button pressed and code below
    First_Record;
    execute_query;
    last_record;
    execute_query;
    previous_record;
    execute_query;
    next_record;
    execute_query;
    but all wont work it wont goto the next, previous,last and first records.. master plz help me..
    micababe

    How do I navigate to the last_record after a query has fetched all my records. I jnow it existed the POST-FETCH trigger, but now how can I make this possible?
    My problem is simple. I am trying to navigate to the last record of a block after the query has fetched all the records.
    Thanks,
    Lucian

  • Last Name First Record appear in destination schema

    I have source schema like 
    <ns0:EmployeeDetails xmlns:ns0="http://NameValidation.Employee">
    <Employee>
      <Name>Kiran</Name>
      <Country>Country_0</Country>
      </Employee>
    <Employee>
      <Name>Naresh_Kumar</Name>
      <Country>Country_0</Country>
      </Employee>
    <Employee>
      <Name>Kapil_Kumar</Name>
      <Country>Country_0</Country>
      </Employee>
     </ns0:EmployeeDetails>
    the destination should be only the first last name record(the "_" is differenating last name in the name eleement )
       Destination schema :
    <Employee>
      <Name>Naresh_Kumar/Name>
      <Country>Country_0</Country>
     </Employee>
    the Naresh_Kumar is the first last name contains one record does not have last name and one more record is last record 

    Try this XSLT:
    <?xml version="1.0" encoding="utf-16"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:source="http://NameValidation.Employee" exclude-result-prefixes="source">
    <xsl:template match="source:EmployeeDetails">
    <Employee>
    <Name>
    <xsl:value-of select="Employee[contains(Name,'_')][1]/Name" />
    </Name>
    <Country>
    <xsl:value-of select="Employee[contains(Name,'_')][1]/Country" />
    </Country>
    </Employee>
    </xsl:template>
    </xsl:stylesheet>
    Morten la Cour

  • How to select last record or first record value in a formula?

    Post Author: d111
    CA Forum: General
    I am using a query in a report that in addition to other columns, has a column of month labels like:
    There are no unique identifiers or sequence fields that can be used.   There is only 4 columns: the label and 3 percent columns.
    Jan07Feb07Mar07Apr07etc.
    I would like to show the range of months I am using in a label on the report showing the last and first records value. like: "Jan07 to Jun07".
    I can not see how to use the functions maximun or minimum since it sorts the months alphabetically.
    I would like to use a formula to just grab the first and last record.  I can't seem to find any information on this anywhere.
    Please advise and thanks.

    Post Author: bettername
    CA Forum: General
    Hmm... I suspect what you actually want is the minimum and maximum dates in the report, rather than the first and last records (even if they do happen to come out in date order). So you need to convert the text dates to real ones, and then pick the min/max values.
    If so, try these:
    Formula "ConvertToDate" (for details section) which converts your text field into a real date - suppress it once placed!:
    //Since you have 2-digit years, this conversion assumes that all your dates are >=year 2000
    numbervar the_month;if left({YourTable.YourField},3) = "Jan" then the_month:=1 elseif left({YourTable.YourField},3) = "Feb" then the_month:=2 elseif left({YourTable.YourField},3) = "Mar" then the_month:=3 elseif left({YourTable.YourField},3) = "Apr" then the_month:=4 else
    //...etc etc you fill in the rest!
    if left({YourTable.YourField},3) = "Dec" then the_month:=12;
    date(tonumber("20"+right({YourTable.YourField},2)), the_month, 1);
    Formula "Show Date Range" (for anywhere on the report) to show the min/max values of the dates;
    totext (minimum({@ConvertToDate})) + " to "+totext(maximum({@ConvertToDate}))
    If, however, you really just want the first and last records, and you want it at the top of your report as a title (eg: in the Report Header), then I can't see how it can be done without using a subreport that looks at the same dataset, but only displays the first and last records (using the formulas below).
    Stick this in the details section, and call it "HoldRecords" and suppress it:
    whileprintingrecords;stringvar first;stringvar last;if recordnumber = 1 then first:={YourTable.YourField}; //if its the first record that crystal is displaying, store it in a variableif recordnumber = count({YourTable.YourField}) then last :={YourTable.YourField} //and again, but for the last record
    Now create another formula, and put it into the report footer:
    evaluateafter({@HoldRecords});stringvar first" to "stringvar last //will display "Jan07 to Apr07"
    NOTE:  if you have the report ordered by anything, this'll throw the record numbering, and therefore the first and last records, therefore... urgh.
    Hope this helps...

  • How to take a value of the first record/occurrence and the last record?

    Hi experts
    Can anyone help me to tell me:
    How to make IP can take a value of the first record/occurrence and the last record in CSV file?
    I need to take the first and last to put StarTime of first record y StopTime of last record in the target file
    This is my Original CSV File
    20110820,220DNE0220,140.13 ,0.000 ,E01,0
    20110820,240FGC4280,103.80 ,0.000 ,E01,0
    20110821,220DNE0220,142.58 ,0.000 ,E01,0
    20110821,240FGC4280,88.70 ,0.000 ,E01,0
    20110822,220DNE0220,151.92 ,0.000 ,E01,0
    20110822,240FGC4280,91.47 ,0.000 ,E01,0
    Where:
    The firts field is date.
    I require it so my Target File
    20110820,20110822,140.13 ,0.000 ,E01,0
    20110820,20110822,103.80 ,0.000 ,E01,0
    20110820,20110822,142.58 ,0.000 ,E01,0
    20110820,20110822,88.70 ,0.000 ,E01,0
    20110820,20110822,151.92 ,0.000 ,E01,0
    20110820,20110822,91.47 ,0.000 ,E01,0
    Thaks..

    Hi lizcam,
    A. Use FCC at sender side, it will convert CSV to XML like this
    Input XML
    <documentName>
    <recordset>
    <record>
      <Time>20110820</Time>
      <ID>220DNE0220</ID>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    </documentName>
    Create a target DT like this
    Output XML
    <recordset>
    <record>
      <StartTime>20110820</StartTime>
      <EndTime>20110822</EndTime>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    In MM,
    1.Time -> CopyValue[0] -> StartTime
    2.Time -> below UDF -> EndTime
    3.Quan -> Quan
    4.Volume -> Volume
    5.Auc -> Auc
    6.No -> No
    UDF u2013 Execution type u2013 All values of Queue
    public void getLastTimeValue(String[] inputEndTime, ResultList result, Container container) throws StreamTransformationException{
    result.addValue(inputEndTime[inputEndTime.length-1]);
    B. At receiver use again FCC to convert XML to CSV.
    FYI. If you want to optimize more, you can use
    1.globalContainer concept OR
    2.u201CAttributes and Methodsu201D, declare are String. Store the EndTime using one UDF and write another UDF to retrieve it.
    Regards,
    Raghu_Vamsee

  • How to replce the ename with last name & first name in this program

    Hi all,
    The below include program is with the reference of std report CATSSHOW.
    in which ename is the field to fetch the employee name, but now we want the emloyee name like last name & first name i.e in two separte column.
    how i implement this change in this include program.
    ENAME IS Define like that
    ename LIKE pernr_list_structure-ename,
    If u whant to refer the report put u can execute the std repot CATSSHOW.
    Pls help on this.
    Send me the code.
    pls find the include prgram ZHNO_INCLUDE_CATSDATA from where they declare the ename.
    4.6B
    QWKP99K050532 13081999 note 167550
    4.6A
    XQIALRK154280 19.11.98 key date on selection screen
    4.0C
    YIKALRK098973     30.03.1998  F4 Hilfe für Objektid
      INCLUDE CATSDATA                                                   *
    db-tabellen
    TABLES:
      prps,
        catsdb,
        catsdb_ext.
    Remarked by LuX 11 Dec. 1998
       crhd.                                                 "YIK
    dd-structuren
    TABLES:
        gdstr,
        gdset,
        catsd,                             "dialogstruktur
        sscrfields,
        t77mt,                             "modulübergreifende texte
        objec.
    Remarked by LuX 19981210 - CATS decoupling (seems not used)
      rcr01.
    "arbeitsplatz aus sicht pläne
    Added by Jerlece on 04/04/2002 - SIR 2836
    TABLES:
        pa0001,           "HR Master Record: Infotype 0001 (Org. Assignment)
         hrp1000.          "Infotype DB table : 1000
    *End of addition
    type-pool enthält feldkatalogstruktur
    TYPE-POOLS:
        kkblo.
    konstanten
    CONSTANTS:
      DATENULL20          TYPE D             VALUE ' ',      QWKP99K050532
        datenull20          TYPE d             VALUE '        ',
        datenull30          TYPE d             VALUE '00000000',
        no                  TYPE c             VALUE 'N',
        off                 TYPE c             VALUE '0',
        yes                 TYPE c             VALUE 'Y'.
    Added by Jerlece on 10/04/2002 - SIR 2836
    DATA: BEGIN OF i_objid OCCURS 0,
             objid(100),
           END OF i_objid.
    End of addition
    DATA:
        gt_sp_groups TYPE kkblo_t_sp_group WITH HEADER LINE.
    DATA for REFRESH of PCHSOBID
    DATA : old_otype LIKE wplog-otype VALUE 'O'.
    DATA: BEGIN OF i77eo_key,
             mandt LIKE t77eo-mandt,
             otype LIKE t77eo-otype,
           END   OF i77eo_key.
    DATA: BEGIN OF i77eo OCCURS 2.
             INCLUDE STRUCTURE t77eo.
    DATA: END OF   i77eo.
    DATA: BEGIN OF i778l OCCURS 5.
          INCLUDE STRUCTURE T778L.
    DATA:   langu LIKE t778l-langu.
    DATA: END OF   i778l.
    DATA   allowed_pernr_index       LIKE sy-tabix.
    DATA    flag_save                 TYPE c.
    DATA:  selcheck_save_struk_index LIKE sy-tabix.
    felder
    DATA:
        flag           TYPE c,             "Drucktastenbelegung
        saveflag       TYPE c,
        saveflag_esa   TYPE c,
        f_stich        TYPE c VALUE yes,   "1. X sichtag
        daynumber      TYPE c,             "Wochentagnummer 1-7
        pchobjid_count TYPE i,
        i778l_count    TYPE i,
        i77eo_count    TYPE i,
        txtid          LIKE t77mt-txtid,   "Wochentagtext
        exist_werk     TYPE c,             "werk eingegeben
        week           LIKE scal-week,     "Wochen zum Tag
        no_selection   TYPE c.             "YIKALRK167448
    DATA: BEGIN OF icatsdb OCCURS 0.
             INCLUDE STRUCTURE catsdb.
           include structure cats_exten.
    *data: checkbox(1) type c,
         lights(1)   type c,
    DATA:  END OF icatsdb.
    DATA: BEGIN OF selcheck OCCURS 0,
             fielname  LIKE dbindfld-field,
             flag(1)       TYPE c,
           END OF selcheck.
    DATA: BEGIN OF selcheck_save_struk OCCURS 0,
           FIELNAME(10)  TYPE C,                               NOTE 167550
             fielname      LIKE dbindfld-field,                 "note 167550
             flag(1)       TYPE c,
           END OF selcheck_save_struk.
    DATA: BEGIN OF selcheck_save OCCURS 0,
           FIELNAME(10)  TYPE C,                               NOTE 167550
             fielname      LIKE dbindfld-field,                 "note 167550
           END OF selcheck_save.
    DATA : BEGIN OF maco_objects OCCURS 5,
              plvar LIKE plog-plvar,
              otype LIKE plog-otype,
              objid LIKE plog-objid,
            END   OF maco_objects.
    RANGES so_datum_save FOR catsdb-workdate.
    INCLUDE .
    datendeklarationen für CATSSTRC                                     *
    TYPE-POOLS: kkblo, capp.
    TYPES: tabix LIKE sy-tabix OCCURS 0.
    TYPES: BEGIN OF icatsdb_lst_type.
             INCLUDE STRUCTURE catsdb.
    TYPES:   checkbox(1) TYPE c,
              lights(1) TYPE c,
              ename LIKE pernr_list_structure-ename,
           END   OF icatsdb_lst_type.
    TYPES: icatsdb_lst_type_table TYPE icatsdb_lst_type OCCURS 0.
    TYPES: BEGIN OF allowed_pernr_type,
             pernr LIKE catsdb-pernr,
             ename LIKE pernr_list_structure-ename,
             begda LIKE catsdb-workdate,
             endda LIKE catsdb-workdate,
           END   OF allowed_pernr_type.
    TYPES: allowed_pernr_table TYPE allowed_pernr_type OCCURS 0.
    DATA: allowed_pernr TYPE allowed_pernr_table WITH HEADER LINE.
    DATA: yx TYPE c VALUE 'X'.
    DATA: is_variant LIKE disvariant.
    DATA: es_variant LIKE disvariant.
    DATA: fcode(4).
    DATA: subrc LIKE sy-subrc.
    DATA: approve TYPE c.
    rhx-f4-objid-data.                    "YIKALRK098973
    INCLUDE rhodat00.
    Added by Lu Xiaozhou for CATS decoupling 10 Dec. 1998
    DATA: sys_type LIKE tcesyst-devtype.
    DATA: posid TYPE ps_posid.
    *added by anand on 8/21/02 TD 1480 ========>D20K908220
    *ranges for date to build & then put in selection criteria
    RANGES r_datum FOR sy-datum.
    *end of addition on 8/21/02 TD 1480=======>D20K908220
    *added by anand on 9/10/02 TD 1513 =======> D20K908525
    *New internal table to get the begin & end date also with ENum
    DATA: BEGIN OF it_pers OCCURS 0,
            pernr LIKE pa0001-pernr,
            begda LIKE pa0001-begda,
            endda LIKE pa0001-endda,
           END OF it_pers.
    *end of addition on 9/10/02 TD 1513 ======>D20K908525
    begin of anc01
    DATA: BEGIN OF i_pernr OCCURS 0,
           pernr LIKE pa0003-pernr,
           END OF i_pernr.
    DATA: BEGIN OF i_persa OCCURS 0,
           persa LIKE t500p-persa,
           END OF i_persa,
           BEGIN OF i_persk OCCURS 0,
           persk LIKE t503k-persk,
           END OF i_persk.
    DATA: BEGIN OF i_orgeh OCCURS 0,
           orgeh LIKE t527x-orgeh,
           END OF i_orgeh.
    DATA: BEGIN OF i_pa0105 OCCURS 0,
           pernr LIKE pa0105-pernr,
           usrid LIKE pa0105-usrid,
           END OF i_pa0105.
    end of anc01
    begin of TD 4107 Anand
    store sub org units
    DATA: BEGIN OF i_sobid OCCURS 0,
           sobid LIKE hrp1001-sobid,
           END OF i_sobid.
    store user entered org units
    RANGES: r_orgeh FOR pa0001-orgeh.
    end of TD 4107 Anand
    *Added by Ketan Joglekar, SIR6599 05/08/2006  D20K921585
    DATA: ws_mandt LIKE sy-mandt. "#EC NEEDED
    *Added by Ketan Joglekar, SIR6599 05/31/2006  D20K921851
    DATA: BEGIN OF wa_catsco_temp,
           counter LIKE catsco-counter,
           belnr LIKE catsco-belnr,
           trans_no LIKE catsco-belnr,
           docnr LIKE catsco-belnr,
           END OF wa_catsco_temp.
    *End of changes Ketan Joglekar, SIR6599 05/31/2006  D20K921851
    DATA: BEGIN OF i_cobk OCCURS 0,
          counter LIKE catsco-counter,
          docnr LIKE catsco-belnr,
          budat LIKE cobk-budat,
          END OF i_cobk.
    DATA: ws_week LIKE scal-week.
    *End of Changes.
    -> D10K919801
    DATA: w_aut_zhr15  type c,
           w_aut_zhr17  type c.
    -> D10K919801

    Completely support!
    I yesterday switched from I-mate PDA2K and got over 200 contacts from Outlook to my 6820 in format of first name space father name space second name. Terrible!
    My phone fails to search by the last name - search is useless in fact. And last names are almost invisible because of long first and father names in Russian.
    It's a nightmare. Could anybody help please? How to sync with Outlook to have last name first???
    Best Regards,
    Vladimir.

  • Birthday calendar on iCloud sort by last name first name like my contacts

    birthday calendar on iCloud sort by last name first name like my contacts

    Curiously, the most recently inputted entries do sort properly, as do all company entries.
    Does that mean "most recently inputted" AFTER you upgraded to Snow Leopard?
    If that is true, it would mean that something about your existing records before the upgrade, for the records that are people contacts (with first and last names) instead of business contacts, do not agree with Snow Leopard and/or Snow Leopard's version of Address Book.
    This may not be feasible, but if you exported the records with this problems and then imported them, maybe they will be re-inputted so that are properly sorted.
    If you use Time Machine, maybe you can use the +flying through space+ interface to restore one of the records with this problem to see if the restore process makes the record sort properly.

  • ResultSet loop back to first record

    I have an Access table : products
    I have a total of 7 products. When I use rs.next(), it will scroll for each record until the last record.
    How do I make it go back to the first record after it hit the last record ?
    I hv tried rs.first() and rs.last(0 method, but it doesn't work and give me TYPE FORWARD kind of error, further clarify with some expert, they said it is because my cursor state is the Forward Type only ... so cannot loop back....
    Then I also use the cn.createConnection(ResultSet.InSensitive Result ... kind of stuff ... all cannot work as Access seems like cannot go backward ...
    Any other good suggestion ?

    1. Use this, st=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    Or,
    2. Store your result set in a temporary array and scroll thru this array for subsequent repetitive iterations.
    Sudha

  • Fetching last but one record from Infotype

    Hello Everyone,
    Can you kindly let me know how to fetch the last but one records of IT0171 and IT0000, then compare the endda of both of the records.
    Thank you for your help.
    Regards,
    Vinod

    Hi,
    First sort your internal table by ENDDA descending.
    Then read index 2. This will give you the last but one record.
    INFOTYPES: 0171.
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr           = '506'
        infty           = '0171'
        begda           = '18000101'
        endda           = '99991231'
      TABLES
        infty_tab       = p0171
      EXCEPTIONS
        infty_not_found = 1
        OTHERS          = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
      SORT p0171 BY ENDDA descending.
      READ TABLE p0171 INDEX 2.  ---> reads the previous record of the last entry.
      write:/ 'test'.
    ENDIF.
    Regards,
    Soumya.

  • Does re-running a MDM Initial Load restart from the first record?

    Is there a way to restart an Initial load?  I was running a new initial materials load in my ECC system for MDM (MDM_CLNT_EXTR) which was running a very long time (5 days).  The background job hit a bad piece of data and crashed.
    My question is: when I re-run my initial load job, will it start over from the first record, or will it pick up from the last material/IDOC and resume processing?  I would prefer not to re-process all 1.7M materials since the job was very near the end before it crashed.
    Thanks,
    Denis

    Hello,
    There are two modes which are available in Client Extractor, Initial and Delta.
    If you select Initial it will start from the first record, that you mention in the selection Criteria.
    In Delta mode, any new records created will be sent to MDM.
    For your issue, in the initial mode, select the Material Number from and to, which have not been updated in MDM.
    This is will ensure, that only the records that have not been sent.
    Regards,
    Abhishek

  • Displaying by last name first screws up the middle name

    Argh. Why couldn't I find any page to submit this as a clear, reproduceable bug?
    If display is set to "First Last" then I see "First Middle Last" and that makes sense. If it's set to "Last, First" I see "Last, Middle First" which makes NO sense. Everybody (but Apple) knows that when you list people in an address book or phone book you list them "Last, First Middle."

    I figured out the solution for this.. If a user doesn't record a 'recorded name' when configuring their Unity account.. they cannot be searched for by name in the directory.. So have any users that are reporting the issue with their account log into their personal unity settings and record their name.. You can tell be looking at their Unity account profile.. If the option to press the play button for Recoded Voice is grayed out, they have no recorded name.. Hope this helps!
    -n

  • Oracle ADF - First record is shown on form no matter which record is edited

    Hi,
    I am using ADF application for development with J Developer version 11.1.1.4.0
    in my project i am having screens(pages) which contain table with form and we are displaying data from that table
    on form using partial Triggers. when i am going to edit records except fist record the record doesn't show on form
    by default it is showing first record . it should display that particular selected records in in that form.
    Plz suggest a solution for the same.
    Thanks,
    vinod

    Hi
    see the source code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:PGN="/PaginationDefLib">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1"
    title="#{finiqwebappuiBundle['TreasuryDepartmentSetup.scrTitle']}">
    <af:form id="f1">
    <af:pageTemplate viewId="/WEB-INF/templates/FinIqWebAppTemplate.jspx"
    id="pt1">
    <f:facet name="center">
    <af:group id="g1">
    <af:outputLabel id="ol1" styleClass="AFHeaderLevelOne"
    value="#{finiqwebappuiBundle['TreasuryDepartmentSetup.scrTitle']}"/>
    <af:panelGroupLayout id="pgl1">
    <af:panelHeader text=" " id="ph1" styleClass="AFStretchWidth">
    <af:messages id="m1" inline="true"/>
    <af:outputText id="otDisplayMsg"
    binding="#{TreasuryDepartmentSetupBean.otDisplayMsg}"
    inlineStyle="color:Red;" visible="false"
    partialTriggers="saveButton"/>
    </af:panelHeader>
    <af:panelGroupLayout id="pgl3" layout="vertical"
    inlineStyle="width:570px; border-color:Silver; border-style:solid; border-width:thin;">
    <af:panelGroupLayout id="pgl9" layout="vertical"
    inlineStyle="border-style:none;"
    partialTriggers="t1" halign="left">
    <af:panelGroupLayout id="pgl5" layout="horizontal">
    <af:panelFormLayout id="pfl2"
    inlineStyle="width:280px; border-style:none;"
    labelAlignment="start">
    <af:selectOneChoice label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.entityName']}"
    valueChangeListener="#{TreasuryDepartmentSetupBean.changeValue}"
    binding="#{TreasuryDepartmentSetupBean.entityId}"
    autoSubmit="true" id="soc1">
    <af:forEach var="item"
    items="#{sessionScope.FINIQGV.loginMappedEntities}">
    <af:selectItem label="#{item.entityName}"
    value="#{item.entityId}" id="sil1"/>
    </af:forEach>
    </af:selectOneChoice>
    <af:inputText value="bindings.TBDBookId.inputValue"
    label="Label 6" id="itBookId"
    visible="false">
    <f:validator binding="#{bindings.TBDBookId.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.BookName.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchName']}"
    maximumLength="#{bindings.BookName.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itBookName}"
    id="itBookName" autoSubmit="false"
    disabled="true" required="true"
    requiredMessageDetail="#{finiqwebappuiBundle['TreasuryDepartmentSetup.msgBookNameReq']}">
    <f:validator binding="#{bindings.BookName.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.BookCode.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchCode']}"
    maximumLength="#{bindings.BookCode.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itBranchCode}"
    id="itBranchCode" disabled="true"
    required="true"
    requiredMessageDetail="#{finiqwebappuiBundle['TreasuryDepartmentSetup.msgBookCodeReq']}">
    <f:validator binding="#{bindings.BookCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.TBDMisc1.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc1']}"
    maximumLength="#{bindings.TBDMisc1.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc1}"
    id="itMisc1" disabled="true"/>
    </af:panelFormLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:panelFormLayout id="pfl3" labelAlignment="start"
    inlineStyle="width:270px; border-style:none;">
    <af:inputText value="#{bindings.TBDMisc2.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc2']}"
    maximumLength="#{bindings.TBDMisc2.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc2}"
    id="itMisc2" disabled="true">
    <f:validator binding="#{bindings.TBDMisc2.validator}"/>
    </af:inputText>
    <af:selectOneChoice label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.activation']}"
    binding="#{TreasuryDepartmentSetupBean.socTBDDeactivate}"
    id="socTBDDeactivate"
    value="#{bindings.TBDDeactivate.inputValue}"
    disabled="true">
    <af:selectItem label="Yes" value="0" id="si1"/>
    <af:selectItem label="No" value="1" id="si2"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.TBDMisc3.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc3']}"
    maximumLength="#{bindings.TBDMisc3.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc3}"
    id="itMisc3" disabled="true"/>
    <af:inputText value="#{bindings.TBDMisc4.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc4']}"
    maximumLength="#{bindings.TBDMisc4.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc4}"
    id="itMisc4" disabled="true"/>
    <af:inputText value="#{bindings.TBDBookEntityId.inputValue}"
    label="#{bindings.TBDBookEntityId.hints.label}"
    id="TBDBookEntityId" visible="false"
    binding="#{TreasuryDepartmentSetupBean.tbdBookEntityid}"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s5"/>
    <af:panelGroupLayout id="pgl4">
    <af:spacer width="10" height="10" id="s4"/>
    <af:commandButton id="addButton"
    binding="#{TreasuryDepartmentSetupBean.addButton}"
    action="#{TreasuryDepartmentSetupBean.newAction}"
    text="#{finiqwebappuiBundle['Common.addButton']}"></af:commandButton>
    <af:commandButton id="editButton"
    action="#{TreasuryDepartmentSetupBean.editAction}"
    binding="#{TreasuryDepartmentSetupBean.editButton}"
    text="#{finiqwebappuiBundle['Common.editButton']}"></af:commandButton>
    <af:commandButton text="#{finiqwebappuiBundle['Common.saveButton']}"
    disabled="true" id="saveButton"
    binding="#{TreasuryDepartmentSetupBean.saveButton}"
    action="#{TreasuryDepartmentSetupBean.saveAction}"></af:commandButton>
    <af:commandButton disabled="#{!bindings.Rollback.enabled}"
    id="cancelButton"
    binding="#{TreasuryDepartmentSetupBean.cancelButton}"
    text="#{finiqwebappuiBundle['Common.cancelButton']}"
    actionListener="#{bindings.Rollback.execute}"
    immediate="true"
    action="#{TreasuryDepartmentSetupBean.cancelAction}"></af:commandButton>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s2"/>
    <af:panelGroupLayout layout="vertical" id="pgl6">
    <af:panelGroupLayout id="pgl2" layout="horizontal"
    valign="bottom"
    inlineStyle="width:230px;">
    <af:quickQuery label=" " id="qryId1" searchDesc=" "
    value="#{bindings.TreasuryDepartmentVO1Query.quickQueryDescriptor}"
    model="#{bindings.TreasuryDepartmentVO1Query.queryModel}"
    queryListener="#{bindings.TreasuryDepartmentVO1Query.processQuery}"
    layout="vertical">
    <f:facet name="end">
    <af:group id="g3">
    <af:commandLink text="Advanced" rendered="false"
    id="cl1"/>
    </af:group>
    </f:facet>
    </af:quickQuery>
    <af:commandImageLink id="ex1" icon="/images/excel_j.jpeg"
    shortDesc="#{finiqwebappuiBundle['Common.exportButton']}"
    partialTriggers="qryId1 "
    visible="#{bindings.TreasuryDepartmentVO1Iterator.estimatedRowCount ne '0' ? 'true':'false'}"
    partialSubmit="true">
    <af:exportCollectionActionListener exportedId="t1"
    type="excelHTML"/>
    </af:commandImageLink>
    </af:panelGroupLayout>
    <af:table columnStretching="last"
    summary="Treasury Departments"
    value="#{bindings.TreasuryDepartmentVO1.rangeSet}"
    var="row"
    rows="#{bindings.TreasuryDepartmentVO1.rangeSize}"
    fetchSize="#{sessionScope.FINIQGV.displayRecordCount}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.TreasuryDepartmentVO1.collectionModel.selectedRow}"
    selectionListener="#{backingBeanScope.PaginationDefBean.rowSelected}"
    rowSelection="single"
    partialTriggers="::soc1 ::qryId1 ::ex1 ::pd1"
    binding="#{TreasuryDepartmentSetupBean.bookTable}"
    id="t1" inlineStyle="height:220.0px;" width="881">
    <f:attribute name="VOObject" value="TreasuryDepartmentVO1"/>
    <af:column rowHeader="unstyled" sortProperty="BookCode"
    sortable="true" align="left"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchCode']}(#{bindings.TreasuryDepartmentVO1.estimatedRowCount})"
    id="c8">
    <af:outputText value="#{row.BookCode}" id="ot10"/>
    </af:column>
    <af:column sortProperty="TBDBookId" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchId']}"
    id="c2">
    <af:outputText value="#{row.TBDBookId}" id="ot8"/>
    </af:column>
    <af:column sortProperty="BookName" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchName']}"
    id="c3">
    <af:outputText value="#{row.BookName}" id="ot1"/>
    </af:column>
    <af:column sortProperty="TBDMisc1" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc1']}"
    id="c10" width="50">
    <af:outputText value="#{row.TBDMisc1}" id="ot3"/>
    </af:column>
    <af:column sortProperty="TBDDeactivateForDisplay"
    sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.activation']}"
    id="c9">
    <af:outputText value="#{row.TBDDeactivateForDisplay}"
    id="ot4"/>
    </af:column>
    <af:column sortProperty="TBDMisc2" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc2']}"
    id="c7">
    <af:outputText value="#{row.TBDMisc2}" id="ot11"/>
    </af:column>
    <af:column sortProperty="TBDMisc3" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc3']}"
    id="c5">
    <af:outputText value="#{row.TBDMisc3}" id="ot7"/>
    </af:column>
    <af:column sortProperty="TBDMisc4" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc4']}"
    id="c4">
    <af:outputText value="#{row.TBDMisc4}" id="ot5"/>
    </af:column>
    </af:table>
    <af:panelGroupLayout id="dcpanel" layout="horizontal">
    <af:panelGroupLayout id="paginationDC" layout="horizontal"
    partialTriggers="qryId1 t1"
    visible="#{bindings.TreasuryDepartmentVO1.estimatedRowCount > '10' ? 'true':'false'}">
    <PGN:PaginationDef First="First" Last="Last"
    Iterator="TreasuryDepartmentVO1Iterator"
    VOObject="TreasuryDepartmentVO1"
    NextSet="NextSet"
    PreviousSet="PreviousSet" id="pd1"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:group>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Error OGG-01517  Position of first record processed

    INFO OGG-01517 Position of first record processed LSN: 0x00000008:00000038:0004, Jul 10, 2012 1:45:47 PM.
    TABLEWildcard resolved (entry DBO.*):
    table DBO.NEW TABLE;
    Source Context :
    SourceModule : [er.main]
    SourceID : [er/rep.c]
    SourceFunction : [get_map_entry]
    SourceLine : [8661]
    2012-07-10 13:55:37 ERROR OGG-00212 Invalid option for MAP: TABLE.
    2012-07-10 13:55:37 INFO OGG-00178 VAM Client Report <Last LSN Read: 00000008:0000003d:0002
    Open Transactions
    0000:0000025e (2012/07/10 13:55:35.943) @ 00000008:0000003d:0001: Upd(Comp) = 0(0), Row(comp) = 1(0)
    .2012-07-10 13:55:37 INFO OGG-00178 VAM Client Report <Sanity checking is not enabled.
    .I try edit error in file but failed.
    table dbo."New Table"; but No records extracted.

    Bug 13458343 is fixed in version 11.2.1.
    Please try it ... change the version 11.1 for 11.2 and post your results

  • Can I move cursor to first record without reopen it?

    I want to use the same cursor in my stored procedure
    for many times, but it is time expensive to open this
    cursor. So can I move the cursor to the first record
    when it come to the last without close and reopen this
    cursor?

    You could read your data at once into a collection and then process the collection afterwards as you like:
    For an example see
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#28373

  • Invalid Descriptor Index After First Record

                   recordCount = 1;
                   if(rs != null)
                        rs.last();
                        totalRows = rs.getRow();
                        rs.first();
                        System.out.println("Total Rows: "+totalRows);
                   if (rs != null) while ( rs.next() )
                        hasResults = true;
                        for(rowCount = 0; rowCount < totalRows; rowCount++)
                             for(columnCount = 0; columnCount < 9; columnCount++)
                                  SearchMenu.fieldArray[rowCount][columnCount].setText(rs.getString(recordCount));
                                  recordCount++;
                        }I am using the above code to read and display data in a 20 row 9 column array of text fields. The database has 9 columns. The first record in a query is displaying correctly, but then I get Invalid Descriptor Index (and no more records are displayed). Can anyone help? Thanks a bunch.

    I went ahead and tried resetting the recordCount to 1
    after each row like you suggested, but that produced
    the same error and problem. Then you have another problem. But I doubt this is happening.
    It is my understanding
    that the first object in the resultset's second row
    is one past the last object of the first row, so
    resetting this count doesn't make sense to me
    anyway.I don't know what you mean exactly but I am pretty sure this is wrong.
    Try this.
    recordCount = 1;
                   if(rs != null)
                        rs.last();
                        totalRows = rs.getRow();
                        rs.first();
                        System.out.println("Total Rows: "+totalRows);
                   if (rs != null) while ( rs.next() )
                        hasResults = true;
                                                         recordCount = 1;//new line here!
                        for(rowCount = 0; rowCount < totalRows; rowCount++)
                             for(columnCount = 0; columnCount < 9; columnCount++)
                                  SearchMenu.fieldArray[rowCount][columnCount].setText(rs.getString(recordCount));
                                  recordCount++;
                        }

Maybe you are looking for

  • Need more Info about "Load transactional data when master data not loaded"

    Hi, Can you please explain me this option in the infopackage " Load transactional data when master data is not loaded".... Say i load a transactional data record which has a material no. AAAXX. In the fact table, the material no. is replaced with the

  • Title Craw - use Boris or LiveType?

    I'm working with the included Boris title crawl provided within FCE HD, but wondering if someone could tell me how to slow down the speed of the crawl. I'm hoping at this point that I am not 'barking up the wrong tree' so to speak, in using the built

  • Date changes in SO to PO.

    Hello, To all SDN Contributors, Query: Using with reference of Purchase order creating sales order. here the purchase order is raised the dated : 01-09-2008 and the sales order is generated dated : 08-09-2008. but here is it possible the sales order

  • How come twitter doesn't go to the homepage since the iOS 5 update?

    Ever since the ios5 update, I can't get on twitters homepage just the mobile page pulls up! Help!

  • Installing new iMac

    I'm setting up a new iMac and would like to transfer files from my G3 B&W, The booklet that came with the iMac says "The first time I start the iMac the set up assistant starts. Setup assistant helps set up various things like internet and email" It