The size of the Intermedia for the current record

Dear sirs...
if i have a table containing field of type ORDVideo, how can i find out the size of the field? (using SQL or PLSQL or JDeveloper)
best regards

Hi,
i haven't jdeveloper on current pc, so i can say it you in a not very specific way...
if you apply getAttribute("OrdTypeFiled") on your current row
automatically current row returns a OrderVideo object,
now you can see on javadoc of OrderVideo, and i think there will certainly be a method to know video length! (i.e. getBytes().length)
i hope i helped you

Similar Messages

  • APP-PAY-07092: This action is invalid for the current record.

    Unable to access employees assignment panel in order to make updates within oracle HR receiving this error.How to fix this.

    Please see these docs.
    APP-PAY-07092 This action is invalid for the current record when Trying to Access Assignment [ID 813815.1]
    PERWSHRG APP-PAY-07092 when Navigating to Assignments Screen [ID 796523.1]
    PERWSHRG APP-PAY-07092 Trying to Access Assignment [ID 1434212.1]
    PERWSEAC Cannot enter Costing for Contingent Workers APP-PAY-07092 [ID 1458000.1]
    App-Pay-07092:Action Invalid for Current Record:Salary for Active Contingent Asg [ID 360168.1]
    Payment Method Errors When Opened: APP-PAY-07092: This process is invalid for the current record. [ID 289691.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • FRM-41344 - OLE object not defined  for CONTROL_OLE  in the current record

    Hi!
    I am working in a multirecord block, and I need to obtain data from a Weighing System on each record. But this error appears in run time: FRM-41344 - OLE object not defined for CONTROL_OLE in the current record.
    I use the same in other program, but in that case is a single record block.
    Can somebody help me?

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which is dedicated forum site
    Regard
    Helios

  • How to Highlight the CURRENT RECORD in a Table with Report Form

    Hi,
    I have created a Table with Report Form....let suppose the table is - EMP
    Report page - 1
    Form page - 2
    Now, when I do Create / Update on Page 2,....the control is back on Page1.
    Suppose in the Report Page (Page1)..we have 10 records....NOW how should I highlight the CURRENT RECORD in Page 1 with some color to identify the record which I have updated/created just now...
    Thanks,
    Deepak

    Hi Deepak,
    You could do that with a custom report template. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:175]
    Go to Shared Components, Templates and create a new Report template as a copy of your existing one. Then edit your template. In the above example, the Column Template 1 setting was:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data">#COLUMN_VALUE#</td>I copied this into the Column Template 2 setting and updated the Column Template 1 setting to:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red; color:yellow;">#COLUMN_VALUE#</td>I then set the Column Template 1 Condition to: Use Based on PL/SQL Expression
    and the Column Template 1 Expression to: '#EMPNO#' = '&P178_EMPNO.'
    (In my example, P178_EMPNO is the single item on the linked to page.
    Save those changes and go to your report and change its template to the new one. As long as a selection has been made and P178_EMPNO has a value, the condition will make sure that the report uses the first template for the row with the matching EMPNO value. All other rows get the template from Column Template 2.
    Andy

  • Get three previous records of the current record

    Hi,
    I need to get three previous records of the current record in an Oracle Form
    Sorry for the lengthy explanation:
    I have a table name: ARCHIVE_DATA with column name: coll_time and its data type DATE.
    SQL> SELECT COLL_TIME FROM ARCHIVE_DATA;
    COLL_TIME
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    10 rows selected.
    SQL> select to_char(coll_time,'dd-mon-yyyy:HH:MI:SS') from ARCHIVE_DATA;
    TO_CHAR(COLL_TIME)
    12-aug-2005:02:42:00
    12-aug-2005:02:43:00
    12-aug-2005:02:44:00
    12-aug-2005:02:45:00
    12-aug-2005:02:46:00
    12-aug-2005:02:47:00
    12-aug-2005:02:48:00
    12-aug-2005:02:49:00
    12-aug-2005:02:50:00
    12-aug-2005:02:51:00
    10 rows selected.
    This is the Requirement:
    In a Form's Block(BLK1), for example: the current_record is the fifth record from the top
    (i.e. 12-aug-2005:02:46:00)
    When the fifth record is the current_record and When I click a button, three previous records of the
    current_record should be populated on the screen.
    See what I did:
    I created another table same as the first table(ARCHIVE_DATA) and its name is: THREE_RECS.
    I am inserting three records from the first table(ARCHIVE_DATA) into the second table: THREE_RECS
    which are less than the current record and ORDER BY DESC.
    CANVAS:
    Two blocks (BLK1, BLK2) based on ARCHIVE_DATA and THREE_RECS are on the same CANVAS.
    But the first block (BLK1) which is based on the first table:ARCHIVE_DATA is populated with one record and the
    second block (BLK2) is empty.
    So when I click a particular button (ex: prev_recs), the second block(BLK2) should be populated with
    three previous records of the current record( :BLK1.COLL_TIME)
    (off course :BLK2 populates with one record and use arrows or scrollbar to get the other two records)
    This is the code I wrote in the trigger and followed by the error:
    1 BEGIN
    2 DECLARE
    3 cursor c1 IS
    4           SELECT MONITOR_ID,
    5               SAMPLE_ID,
    6               COLL_TIME,
    7               DEW_POINT
    8          FROM ARCHIVE_DATA;
    9 cursor c2(passing_date IN date) IS
    10           SELECT MONITOR_ID,
    11               SAMPLE_ID,
    12               COLL_TIME,
    13               DEW_POINT
    14          FROM (SELECT MONITOR_ID,
    15               SAMPLE_ID,
    16               COLL_TIME,
    17               DEW_POINT
    18          FROM ARCHIVE_DATA
    19          ORDER BY COLL_TIME desc)
    20      WHERE COLL_TIME < passing_date;
    21     BEGIN
    22     FOR cur_rec in c1
    23     LOOP
    24          IF (cur_rec.COLL_TIME = to_date(:BLK.COLL_TIME,'dd-mon-yyyy:HH24:mi:ss')) then
    25     FOR second_cur_rec in c2(second_cur_rec.COLL_TIME)
    26          LOOP
    27      IF c2%rowcount < 4 then
    28               BEGIN
    29               INSERT INTO THREE_RECS
    30                    values(second_cur_rec.MONITOR_ID,
    31                         second_cur_rec.SAMPLE_ID,
    32                         second_cur_rec.COLL_TIME,
    33                         second_cur_rec.DEW_POINT);
    34               COMMIT;
    35               END IF;
    36 END LOOP;
    37 END IF;
    38 END LOOP;
    39 END;
    40 END;
    This is the error I am getting:
    Error 103 at line 14
    Encountered the symbol "(" when expecting one of the following
    a PL/SQL variable or double quoted string
    an expanded name
    an expanded name link
    a table reference __expression
    a key word
    Resuming parse at line 126, column 46
    Thanks in advance

    Why not just a simple select that doesn't involve a second table and PL/SQL?
    sql>select * from t1 order by dt;
    DT
    08/12/2005 02:42:00am
    08/12/2005 02:43:00am
    08/12/2005 02:44:00am
    08/12/2005 02:45:00am
    08/12/2005 02:46:00am
    08/12/2005 02:47:00am
    08/12/2005 02:48:00am
    08/12/2005 02:49:00am
    08/12/2005 02:50:00am
    08/12/2005 02:51:00am
    10 rows selected.
    sql>select dt
      2    from (select dt, row_number() over (order by dt desc) rn
      3            from t1
      4           where dt < to_date('12-aug-2005:02:46:00', 'dd-mon-yyyy:hh:mi:ss'))
      5   where rn <= 3
      6   order by dt;
    DT
    08/12/2005 02:43:00am
    08/12/2005 02:44:00am
    08/12/2005 02:45:00am
    3 rows selected.If the use of an analytical function (row_number()) is a problem with Forms, then the query can also be done as:
    sql>select dt
      2    from (select dt
      3            from (select dt
      4                    from t1
      5                   where dt < to_date('12-aug-2005:02:46:00', 'dd-mon-yyyy:hh:mi:ss')
      6                   order by dt desc)
      7           where rownum <= 3)
      8   order by dt;
    DT
    08/12/2005 02:43:00am
    08/12/2005 02:44:00am
    08/12/2005 02:45:00am
    3 rows selected.

  • Get three previous records of the current record in an Oracle Form

    Hi,
    I need to get three previous records of the current record in an Oracle Form
    Sorry for the lengthy explanation:
    I have a table name: ARCHIVE_DATA with column name: coll_time and its data type DATE.
    SQL> SELECT COLL_TIME FROM ARCHIVE_DATA;
    COLL_TIME
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    10 rows selected.
    SQL> select to_char(coll_time,'dd-mon-yyyy:HH:MI:SS') from ARCHIVE_DATA;
    TO_CHAR(COLL_TIME)
    12-aug-2005:02:42:00
    12-aug-2005:02:43:00
    12-aug-2005:02:44:00
    12-aug-2005:02:45:00
    12-aug-2005:02:46:00
    12-aug-2005:02:47:00
    12-aug-2005:02:48:00
    12-aug-2005:02:49:00
    12-aug-2005:02:50:00
    12-aug-2005:02:51:00
    10 rows selected.
    This is the Requirement:
    In a Form's Block(BLK1), for example: the current_record is the fifth record from the top
    (i.e. 12-aug-2005:02:46:00)
    When the fifth record is the current_record and When I click a button, three previous records of the
    current_record should be populated on the screen.
    See what I did:
    I created another table same as the first table(ARCHIVE_DATA) and its name is: THREE_RECS.
    I am inserting three records from the first table(ARCHIVE_DATA) into the second table: THREE_RECS
    which are less than the current record and ORDER BY DESC.
    CANVAS:
    Two blocks (BLK1, BLK2) based on ARCHIVE_DATA and THREE_RECS are on the same CANVAS.
    But the first block (BLK1) which is based on the first table:ARCHIVE_DATA is populated with one record and the
    second block (BLK2) is empty.
    So when I click a particular button (ex: prev_recs), the second block(BLK2) should be populated with
    three previous records of the current record( :BLK1.COLL_TIME)
    (off course :BLK2 populates with one record and use arrows or scrollbar to get the other two records)
    This is the code I wrote in the trigger and followed by the error:
    1 BEGIN
    2 DECLARE
    3 cursor c1 IS
    4           SELECT MONITOR_ID,
    5               SAMPLE_ID,
    6               COLL_TIME,
    7               DEW_POINT
    8          FROM ARCHIVE_DATA;
    9 cursor c2(passing_date IN date) IS
    10           SELECT MONITOR_ID,
    11               SAMPLE_ID,
    12               COLL_TIME,
    13               DEW_POINT
    14          FROM (SELECT MONITOR_ID,
    15               SAMPLE_ID,
    16               COLL_TIME,
    17               DEW_POINT
    18          FROM ARCHIVE_DATA
    19          ORDER BY COLL_TIME desc)
    20      WHERE COLL_TIME < passing_date;
    21     BEGIN
    22     FOR cur_rec in c1
    23     LOOP
    24          IF (cur_rec.COLL_TIME = to_date(:BLK.COLL_TIME,'dd-mon-yyyy:HH24:mi:ss')) then
    25     FOR second_cur_rec in c2(second_cur_rec.COLL_TIME)
    26          LOOP
    27      IF c2%rowcount < 4 then
    28               BEGIN
    29               INSERT INTO THREE_RECS
    30                    values(second_cur_rec.MONITOR_ID,
    31                         second_cur_rec.SAMPLE_ID,
    32                         second_cur_rec.COLL_TIME,
    33                         second_cur_rec.DEW_POINT);
    34               COMMIT;
    35               END IF;
    36 END LOOP;
    37 END IF;
    38 END LOOP;
    39 END;
    40 END;
    This is the error I am getting:
    Error 103 at line 14
    Encountered the symbol "(" when expecting one of the following
    a PL/SQL variable or double quoted string
    an expanded name
    an expanded name link
    a table reference __expression
    a key word
    Resuming parse at line 126, column 46
    Thanks in advance

    Change C2 to:
    cursor c2(passing_date IN date) IS
      SELECT MONITOR_ID, SAMPLE_ID,
                   COLL_TIME, DEW_POINT
        FROM ARCHIVE_DATA
        WHERE COLL_TIME < passing_date
        ORDER BY COLL_TIME desc;And rather than populating a table with the three records, you could just select the three records using: where COLL_TIME between Prev3_time and Prev1_time

  • RMS -- Getting the RecordId of the Current Record

    Hello, I need to get the current record Id from recordStore so I can update a count field. Here is the code that updates the count field.
    // member vars to hold RMS stuff
    private RecordStore rs;
    private RecordEnumeration re;
    private ByteArrayOutputStream os;
    // Constructor allocates RMS vars
    public Ctor ( String sRmsFilename ) throws Exception {
    rs = RecordStore.openRecordStore ( sRmsFilename, false );
    re = rs.enumerateRecords ( null, null, true );
    re.keepUpdated ( true );
    os = new ByteArrayOutputStream ();
    ////// METHOD REQUIRING CURRENT RECORD ID
    private void updateDBCount ( int count ) throws Exception {
    DataOutputStream dos = new DataOutputStream ( os ) ;
    dos.writeInt ( count );
    *int currentRecordId = {color:#008080}getCurrentRecordId {color}();*
    byte[] b = os.toByteArray ();
    os.reset ();
    rs.setRecord ( currentRecordId, b, 0, b.length );
    This is the code that I use to retrieve the recordId of the current record;
    ////////// CODE TO RETRIEVE CURENT RECORD ID
    private int getCurrentRecordId () throws Exception {
    *if ( re.{color:#0000ff}hasPreviousElement{color} () ) {*
    *re.{color:#0000ff}previousRecordId{color} ();*
    *return re.{color:#0000ff}nextRecordId{color} ();*
    *else {*
    *re.{color:#0000ff}nextRecordId{color} ();*
    *return re.{color:#0000ff}previousRecordId{color} ();*
    This is how getCurrentRecordId () is suppose to work, using RecordEnumeration. If there is a previous record then advance backwards to previous record. Now advance forward to next record and this should been the current record Id and so it is return. However, if there is no previous record then advance forward to next record. Now advanced backward to previous record and this should been the current record Id and so it is return.
    Well, does anyone see a problem with this code? If so please let me know and, of course, as always any suggestions are very welcome!
    Note: The reason I chose to use RecordEnumeration.nextRecordId () / previousRecordId () methods is because I figured it is run fast and less resources would be consumed than if actual records were retrieved using RecordEnumeration.nextRecord () / previousRecord ()methods.
    Thanks!

    {color:#000080}I see a problem if the RecordStore has no records, or only one record. This is what I might do (untested)private int getCurrentRecordId () throws Exception
        if ( re.numRecords() == 0 )
            // maybe you want to add a record
            // or maybe throw a new Exception
            // or just return -1 or 0 and
            // let the calling routine handle that
            return -1;
        } else if ( re.numRecords() ==1 )
            return 1;
        } else if ( re.hasPreviousElement () )
            re.previousRecordId ();
            return re.nextRecordId ();
        } else
            re.nextRecordId ();
            return re.previousRecordId ();
    }Regarding running fast, the documentation for javax.microedition.rms.RecordEnumeration says{color}
    keepUpdated - if true, the enumerator will keep its enumeration current with any changes in the records of the record store. Use with caution as there are possible performance consequences.{color:#000080}
    Actually, since you do not have a filter or comparator, it would probably be more efficient to keep track of the current record with a int instance field. But that's your choice.
    Cheers, Darryl{color}

  • Analytics report filtered on the current record id in a Siebel view

    Is it possible to have an analytics report integrated in a siebel view and for which the data would be filtered on the current record of this view, eg the current Account Id ?
    How to do that ?

    I found out the answer :
    technical note 661 on on Siebel Supportweb (metalink3) :
    "how to embed OBI requests in Siebel Business Application views, so that navigating among the records in the parent applet updates the child Analytics applet with context-appropriate content"

  • Inside Loop, how to stop processing the current record but the next  one?

    We want to know which statement/command that can exit the current record processing in a loop and start to process the next record in the loop?
    We've tried exit, but it jumps out the whole loop.  We have tried Resume, but this command doesn't exist in ABAP.
    Any idea?
    Thanks!

    Hi,
    Use CONTINUE.
    Thanks,
    Sriram Ponna.

  • Web GUI new feature - creating a new record based on the current record

    Vincent,
    We need new feature in Web GUI:
    creating a new record based on the current record with data
    from Moscow with money

    It is already enabled, in the next release.
    If you joint TAB program, the march preview build contains it. User can select 1 or multiple users and make a copy.

  • How to get the previous record value in the current record plz help me...

    In my sql how to get the previous record value...
    in table i m having the field called Date i want find the difference b/w 2nd record date value with first record date... plz any one help me to know this i m waiting for ur reply....
    Thanx in Advance
    with regards
    kotresh

    First of this not hte mysql or database forum so don;t repeate again.
    to get diff between two date in mysql use date_format() to convert them to date if they r not date type
    then use - (minus)to get diff.

  • Populating a message when cursor leaves the current record unsaved

    Hi ALL
    Can any one please tell me how to do the following.
    I have a Custom Form, In that if the user updates a record and does not save it and goes to the next record, it should populate an alert to the user for saving the record.
    Or if putting it in different way: If the cursor leaves record not saving after update, then the alert should pop-up. However after doing update if the user directly goes and saves the record, then it should not populate any message.
    I have added an alert, but not sure on which trigger to put it rather not sure how to get the record status whether saved or not, so that based on that condition I can raise the alert may be in POST-RECORD trigger.
    Some sample code would be a great help.
    Thanks
    Madhu

    Look for Get_Record_Property in the online help. The only property you can read is Status, that's the one you want.

  • HOW TO COPY THE PREVIOUS RECORD TO THE CURRENT RECORD

    Hi all,
    i am using form 6i.
    i have one multi record block. the user has to enter all the values and store it to the table.
    My requirement is - if user is in some blank record, if user clicks the button then all the previous record values should be coppied to the record where the user has placed the cursor.
    please help me..
    Thanks..

    user13329002 wrote:
    Except these columns all other columns should be copied when i press the button.So? Use duplicate_record and set the columns you don't want to copy to null or a value you want?
    duplicate_record;
    :my_block.creation_date := sysdate;
    :my_block.modiefied_date := null;cheers

  • Maintain Dimension Data withn the Current Record With Highdata

    Hi,
    I have following value in the Product Dimension :
    Product_SK Product_code PROD_PRICE REC_END_DATE
    ========== ============ ========== ============
    1001 P001 12.3 20-JAN-2005
    1002 P001 15.5 15-MAR-2007
    1003 P001 17.0 20-JUL-2009
    1004 P001 25 31-MAR-9999
    1005 P002 20.2 20-FEB-2001
    1006 P002 23.2 20-FEB-2004
    1007 P002 22.5 31-DEC-9999
    I want to maintain the dimension table with the only high record end data value(31-DEC-9999). Is there any filtering condition to maintain the Dimension like building the CUBE. During CUBE build there is an option "Filter ". Is there any process to give any filter condition in the Dimension build ?

    If you are not using materialized views, then an easy answer is to map the dimension to a view on top of the table. But as it happens you can also apply a filter on a dimension. See the old thread "Dimension Mapping in 11g. Can Where clause be used to filter source table?" for details.
    Re: Dimension Mapping in 11g. Can Where clause be used to filter source table?

  • Enabling the current record only in a multi record block..how?

    Hi,
    I'am trying to enable a single record in a multi record block.
    If i use SET_ITEM_PROPERTY it enables all records, SET_ITEM_INSTANCE PROPERTY does not have ENABLED Property.., so how to go about this?
    I have a check box beside each record, if i check the check box only that record should get enabled..is there any way?
    Regards
    Mahesh

    I found out the answer :
    technical note 661 on on Siebel Supportweb (metalink3) :
    "how to embed OBI requests in Siebel Business Application views, so that navigating among the records in the parent applet updates the child Analytics applet with context-appropriate content"

Maybe you are looking for

  • HT4993 I got an iPhone 4S from work.  It has an activation lock and the guy that had it no longer works here...is there a way around it?

    All I'm wanting to do is unlock this so I can use it in a foreign country rather than buying a cheap phone when I get there.  Because it has the lock I can't get past that screen.  If I can Sprint will factory unlock for me. Is this a lost cause?

  • Cursor in select query in row to column format

    Hi I have the query like below SELECT d.department_id,              CURSOR(SELECT e.first_name,                      e.last_name               FROM   employees e               WHERE  e.department_id = d.department_id        ) emps FROM   depatments d

  • 2 parameters

    Hi, How to design a selection screen with 2 parameters on the same line, like date1:                and date2:                 . Thanks.

  • Page Orientation changes in 6.0 standard

    My boss has a PDF file that is set up with a Portrait orientation, but would like it to print out Landscape.  I have 6.0 Standard, but use it very rarely.  I have changed every option I know of:  it all shows up as Landscape/Legal, but it continues t

  • What is the details in tcode CJCO

    Hi all, I'm wondering if I can find the details of "error message" in transaction code CJCO (Carrying Forward Project Budget) ? Scenario: Recently, I tried to execute this tcode, and is successful. However, there are 12 Error Messages in the result s