Move To A Specific Record

http://63.134.247.210/searches/doubles.asp
DW 8.02 Win XP Pro
How do I get the "Move to specific record" object to work on
this .ASP
page? I have been trying for days and can not even get it to
show up on the
page.
Thanks,
Bobby

How about something along the lines of this ?
Ps. you might want to use Scrollable resultsets if you want to move back up the
resultset.
regards,
Owen
boolean found = false;
while ( (!found) && (resultset.next()) )
    int id = resultSet.getInt ( "id");
    if (id == 1979 )
       found = true;
if (found)
    // we're positioned on the right record
else
   // throw exception... couldn't find the id
}

Similar Messages

  • Move to specific record

    I am building a PHP detail page with a navigation list of
    database records down the left side, and the middle will display
    info for each of those records, so when one of the links on the
    left is clicked, the page reloads and displays the relevent info.
    Thing is, it's not doing it! It is still displaying the first
    record of the db no matter what record is clicked.
    I have a recordset for the navigation list, and I have a
    recordset for the content; I have a 'go to detail page' set up on
    the navigation recordset which posts to itself, ie. the same page
    it is on already, and the url displays the correct record ID; the
    page also has a 'move to specific record' behaviour which is based
    on the content recordset, but it's not working.
    What am I missing? Obviously, I am doing something wrong. Can
    I not have content on a detail page where a DB driven link can post
    to the same detail page?
    Does that makes sense?
    Mat

    Right, I have just built a list page and a detail page to
    test this out. I have done this hundreds of times in asp, but it
    doesn't seem to be working in php!
    1/On the list page I have a list of database records that
    link to the detail page.
    2/When the link is clicked I have a go to detail page and I
    am passing the url parameter of fld_id
    3/On the detail page I have the move to sepcific record
    behaviour which is collecting the fld_id parameter
    Is that not right? Is it handled differently in PHP to how it
    should be done in asp?
    Mat

  • QuickTime: can't move to a specific point when playing .WMA audio files

    I use a lot of .WMA audio files recorded on my Olympus Digital Voice recorder. Since the latest update of QuickTime I cannot move to a specific point in a file. When I click and drag on the diamond cursor it won't move. The only way to move through the file is to play it or 'fast' forward it - which takes ages.

    I have the same problem. when playing wma or wmv file, simply just cannot drag the progress bar to a specific position. Just have to progress from the very beginning to the end. Once it has been played to the end, I can move the progress bar. Very weird
    I have both flip4Mac and perian installed with the latest version.
    Could anybody please help.
    cheers

  • Outlook Move Emails to specific folder rule issues.

    Hello,
    We have found fallowing issue in our Outlook/Exchange environment:
    If we setup rules in outlook 2010/2013 to move emails from specific sender to specific folder emails are moved to that folders but also they appear in a "Recover deleted Items" folder. if we move emails manually no issues. If we recover them they
    will appear double in the specific folder.
    We are using two Exchange  2013 Servers in DAG with latest cumulative updates. CAS/MB roles combined.
    Any Ideas?  Thanks in advance!

    Hi,
    When creating this inbox rule to move emails from specific sender to specific folder emails, please make sure the following field is unchecked.
    If we choose this field, then situation like yours will happen.
    Please also check if there are any other inbox rules or transport rules relative this issue.
    Get-InboxRule -Mailbox [email protected] | Fl description
    Get-TransportRule
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • How to move multi select rows(records)from one datagrid to another datagrid completelly in flex4

    hi friends,
    I  am doing mxml flex 4 wep application i am using 2 forms, each form i am using datagrid,i am struck in this place,
    my proplem is, in first form i am having a grid with 10rows and columns,i am having 10 records and one move button. Next form also having a datagrid,
    need:
    IF i am doing multi select(2records) from the first datagrid and click move button means that records will show in the second datagrid and will also delete
    from the first data grid again it wont show the records in same datagrid.
    how to do this?
    any useful suggession or snippet code.
    thanks in advance,
    Cheers,
    B.venkatesan.

    One solution could be:
    Source to data grid is an Array collection
    1.> In first data grid extraxct the rows using, grid.selecteditem
    2.>Add it to the arraycollection attached to next grid, use arraycollection addItemat api if rows needed to ve added at particular index
    3.>Use removeitemat api to remove the items from arraycollection attached to first datagrid
    4.>call invalidate on bothe of the datagrids

  • I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add info), it overwrites part of the record following it. I am using labview 6.0

    I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add or change info), it overwrites part of the record following it. I am using labview 6.0. I need to be able to insert information into the middle of a file without disturbing the data before and after

    It's hard to give more specifics without more detail, but in general you're going to need to read in the entire file, split it into three pieces (everything before the record of interest, the record itself, and everything after the record of interest), modify the record, reassemble the three pieces in proper order, and write the whole thing back to the file.Of course if the file is very large you might not want to actually implement it this way, but conceptually at least, this is what you are looking at.If this file some sort of proprietary format?Mike...PS: this type of issue is why I really like databases...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • URL in email to a report on a specific record

    Hi - I have setup an email notification process that will send a URL to bring the user back to a report for a specific record. The link is bringing me back to the right page, but there are no results for the report.
    How do I go to the page AND run the SQL in my report specific to that record?
    A. Page Process for email:
    declare
    l_body_html varchar2(4000);
    begin
    l_body_html := '<p>A new order, number '||:P21_REQ_ID||' has '||
    'been placed. To review and fulfill this order, click the '||
    'link below.[/p><p>[a href="http://'||OWA_UTIL.GET_CGI_ENV('HTTP_HOST')||
    OWA_UTIL.GET_CGI_ENV('SCRIPT_NAME')||'/f?p='||:APP_ID||':100:::::'||':P21_REQ_ID:'||
    :P21_REQ_ID||'">View Order '||:P21_REQ_ID||
    '</a></p>';
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => l_body_html,
    P_BODY_HTML => l_body_html,
    P_SUBJ => 'Service Request # '||:P21_REQ_ID);
    end;
    *B. URL after clicking the link in the email (goes to correct page, but no results):*
    http://MyServer:7777/pls/apex/f?p=149:100:3573333726951794:::::P21_REQ_ID:42
    *C. SQL for report on page 100:*
    select     "SR_REQUESTS"."REQ_ID" as "Request ID",
         "SR_REQUESTS"."REQ_NAME" as "REQ_NAME"
    from     "SR_REQUESTS" "SR_REQUESTS"
    where "SR_REQUESTS"."REQ_ID" = :P21_REQ_ID
    Edited by: mterlesky on Oct 7, 2008 1:56 PM

    You have one too many colons in the f?p URL.
    Scott

  • How to drill or navigate to specific records from a pie chart

    Hi,
    I have created a report that has a Pie chart view in it. What i want is that when i click on the chart it should navigate me to the specific records. E.g. I have a chart that shows %age of satisfied customers and %age of Not Satisfied Customers, what we are looking for is that when I click on satisfied customers's area, it should take me the satisfied customers records ony and same goes for Not Satisfied Customers.
    Can anyone help ?? I have tried the drilling option under charts properties, but that doesnt seem to be working.
    Thanks
    Ahmed

    Hi Martin,
    I haven't tried it, but can't you use a filter? Drag out a line from the data source and choose "filter" or drag a filter from the compose panel to the story board. Place the filter between data source and chart.
    Change the filter properties so that the specific value is filteres.
    Best Regards, Benni

  • How to lock a specific record

    Let’s say I need to lock a specific record from a form so nobody could even select this record from database.
    How do I do this?
    Thank you in advance

    Add a default_where property for your block that will eliminate this record from being selected.
    For example:
    set_block_property('emp','default_where','ename!='SCOTT');

  • Find a specific record in a recordgroup

    I am building a recordgroup at runtime of IDNum and Name. (Basically key-value pairs)
    I'm able to build the recordgroup. But how do I find a specific record to get a Name value if I have an IDNum?
    I know I can just do this with a temp table, but I was trying to do it this way....

    Hello,
    Use the Get_Group_Record_Number() to retrieve the desired row in the record group (see the on-line documentation).
    Francois

  • Record selector dont work for specific record selection

    Hi,
       I have a issue with the record selector in a spotlight.
    I want to select specific record, but when I select the check the record don't go in the selected record tab!
    the files dataservice.json and endecaBrowserService.json are correctly configure I think. I did compare with the Discover app. but I don't see want would be the issue! not that the dynamic record selection work correctly
    endecaBrowserService.json
        "host": "W177",
        "port": "15101",
        "recSpecProp": "Product_SKU",
        "recAggregationKey": "Endeca_Rollup_Id",
        "recFilter": "",
        "recImgUrlProp" : "URL_Thumbnail1",
        "recDisplayProps": [ "Brand","Category_EN","Product_SKU"],
        "textSearchKey": "interface_EN",
        "textSearchMatchMode" : "ALLPARTIAL"
    dataservice.json
        "jcr:primaryType": "endeca:unstructured",
        "host": "W177",
        "port": "15101",
        "recordSpecName": "Product_SKU",
        "aggregationKey": "Endeca_Rollup_Id",
        "recordFilter": "",
        "wildcardSearchEnabled": false,
        "recordNameField": "product_name_en",
        "fields": {"Brand" : "", "Category_EN":"","Product_SKU":""}
    any Idea
    thanks

    Hi TimK,
          actualy I dont have space in the record spec, but it look like this 8-474F9138-409-2. I assume that '-' wore bad character like your space.
    when I transfore the record spec to 8_474F9138_409_2. the record selector work perfectly
    thanks TimK for leading me to the solution
    good day

  • Getting a specific record in table MBEW.

    Where/how can I get the Storage Location (LGORT) for a specific record in table MBEW.
    Regards:
    Phillip Mathopa

    Check MARD Table. The storage location (field LGORT) is linked via check tab T001L to a plant (field WERKS in table T001L)
    The plant is linked via table T001W to a valuation area (field BWKEY in table T001W).
    The valuation area is used as a key field in table MBEW
    By using this link chain you will be able to identiy for a given record in MBEW the accociated storage locations
    Hope this helps
    Martin

  • OOP ALV - Setting specific records as editable

    Hello everyone,
    Is there a way for an ALV grid/OOP ALV to set certain fields as editable?
    I have tried setting specific columns as editable through field catalog setup, but I don't need all records of that column to be editable. I just need specific records to be editable. Is this possible with ALV or I have no other choice but to use Table Control?
    Please help.
    Sincerely,
    Ice

    Hi Ice,
    this code will work 4 u.
    *& Report  ZDEMO_ALVGRID_EDIT                                          *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display specific fields as          *
    *& editable depending on field value                                   *
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 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.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    kindly reward if found helpful.
    cheers,
    Hema.

  • Unable to query a specific record

    I have a form, with these code in when-new-form-instance trigger:
    set_block_property('Block_A',default_where, where_clause);
    execute_query;
    The form is brought up in a query mode, brings the default set of records. But it does not allow me to query a specific record.
    Here is what I did:
    1. change the value of an 'ID' field in the form and excute the query.
    2. a message box comes up asking me if want to save the change.
    3. press 'No'. The form brings up the first record of the default set but not the record I am querying on.
    I have set the property of the 'ID' filed: query allowed: Yes.
    What is wrong here?

    I believe your form module is using the WHERE condition set in the When-New-Form-Instance trigger.
    When you change ID of the column and want to requery, reset the Block's where condition FIRTST before re-executing the query.

  • How to display/navigate to specific record in a table with more then thousand records

    Hi,
    there is a task that I do not know how can be resolved.
    There is a query that returns around 1 - 2 thousand records. And all those records have corresponding weight assigned.
    After query executing it is necessary to navigate to the records with the highest weight assigned. It can be first record, it can be a record at the end or in the middle of the row set from thousand records.
    I have used "DisplayRow"=selected or the code below, but it does not work properly ... when the record that we navigate is in the middle of record set from 2000 records, then users have to scroll down to it.
    And I need to position to that specific record after query is executed.
    So I used the code below:
    public void onButtonClicked(ActionEvent actionEvent) {
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterator = bc.findIteratorBinding("ViewVIIterator");
            Row row = iterator.getCurrentRow();
            String bestPosition = (String)row.getAttribute("BestPosition");
            iterator = bc.findIteratorBinding("DetaillVIIterator");
            ViewObject vo = iterator.getViewObject();
            vo.setWhereClause(some_conditions);
            vo.executeQuery();
            RowSetIterator rowSet = iterator.getRowSetIterator();
            Key key = null;
            while (rowSet.hasNext()) {
                row = rowSet.next();
                if (row != null && ((String)row.getAttribute("weight")).equals(bestPosition)) {
                    key = row.getKey();
                    Key rowKey = row.getKey();
                    ArrayList tableRowKey = new ArrayList();
                    tableRowKey.add(rowKey);
                    this.getRangeTable().setScrollTopRowKey(tableRowKey);
                    break;
    After the code above I getting the row selected or set as a current, but in case of 2000 records, when my record is in the middle of this record set, I need to scroll down to this record to see it.
    And I wanted that I will be navigated to my record with records above and below.
    What am I doing wrong above?
    Thanks
    Alexander

    Hi Timo!
    thanks for the reply.
    version info:
    Oracle JDeveloper 11g Release 2 11.1.2.3.0
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    IDE Version: 11.1.2.3.39.62.76.1
    Product Version: 11.1.2.3.39.62.76.1
    1. sorting order is already applied and we to position to a specific record in af:table.
    From another side the task can rephrased: I need to position to a specific record and I need to be able to show 500 records before and 500 records after.
    So where clause can be like:
    :bestPosition > position - 500 and :bestPosition < position +500.
    2. I tried to apply your second approach and found that record is selected, but I need to scroll to it down. It happens when first 20 records are displayed in af:table and my record is 480 records below ...
    Alexander

Maybe you are looking for