Unable to display records

I have some custom buttons and processes on pages of my application which are for querying, next and previous populating of page fields. The are pl/sql code for the process to populate these fields. Now, when I click the query button it works by populating the appropriate field items. But when the next or previous buttons are clicked, an error message is display that no data found, when in effect, there are numerous record in the database or underlying table. If I connect to the database through sql Plus, all the records are displayed.
Please how can this abnormaly be rectified.
Thank you.

Please any idea or direction on this?

Similar Messages

  • [SOLVED] FRM-40508:ORACLE error: unable to INSERT record

    Hi all,
    I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
    At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
    So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
    The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
    I also generated to object list report and tried to find some answer, but no use.
    Please help me in debugging this form.
    Edited by: Charan on Aug 18, 2011 4:05 PM

    I think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
    columns in there that the type does not match the table. (check the sizes of things too while you're at it.)

  • Unable to INSERT record : ERROR

    SR # : 3-2184192641
    RMS Version 13.1.3
    Form : dealmain.fmb
    Customer is reporting the following error
    "FRM:40508-Oracle error:Unable to INSERT record"
    On looking into detail error the following message is displayed
    "INSERT INTO deal_threshold( lower_limit,upper_limit,value,total_ind,target_level_ind,reason,deal_id,deal_detail,
    create_datetime,last_update_datetime,last_update_id) values(1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)."
    Please advice.

    Are the values for the columns being supplied from the application? If so check the formats of the columns and corresponding values of the same. If they are matching then check whether a null being inserted for a not null column..
    Of course there could be many more reasons for this error.
    Give the complete details of the columns, their properties and the values being inserted into the table.
    Regards,
    Sandy.

  • Is it possible to display records without master detail relationship?

    Hi all,
    I've a form for importing excl to oracle with column mapping. i.e I've display excl column heading on the form.
    In front of each excel column heading I've provide a list item which contains table column heading so user can map his excl column with table column and according to data gets insert into the database table.
    There are 28 excel and table column headings on the form every time user will have to map the column. Its very time consuming job. That's why I've decide to provide template to user. e.g user maps the excl column with table column only first time, then this combination is saved as 'template 1' . when user runs the form next time he/she needs to just select template-1 from lov. and that template get displayed on the forms field. Then user will press the process button and data gets inserted into respective table
    Now I've created two tables
    1. mst_template
    template_name        varchar2(100) ---primary key.
    2. template
    template_name   varchar2(100) --- foreign key (ref. tempalte_name - mst_template)
    ex_col                varchar2(100)
    tb_col                varchar2(100)Now my problem is, I try the master detail relationship but it doen't works becase on my form the condition is
    excel col                                   table col
    excl_col1                                 Tab_col1
    excl_col2                                  tab_col2
    excl_col28                                Tab_col28       i've establish the master detail relationship but getting error
    FRM-40505:ORACLE error:unable to perform query. as i use excl_col1, tab_col1.. etc
    can i achieve it by using cursor? without using master detail relationship. My 90% coding is done. only thing remaining is to display records on form. so can i use cursor in this situation? and how? I've work so hard on it and lot of time is spend too so i don't want to change the coding of the existing form. any suggestion for this problem.
    please help
    Regards
    sam.

    Turning on Closed Captioning is all you can do.  I think the problem you have is that not all movies have closed captioning.

  • FRM-40509: ORACLE error: unable to UPDATE record.

    FRM-40509: ORACLE error: unable to UPDATE record.
    what can i do?

    There will always be another error which tells you what the actual problem on the database is. Use the Display message key, or message out DBMS_ERROR_TEXT

  • [SOLVED]Receive "Unable to allocate record buffer" error message

    After upgrading to Oracle 10.2.0.1 EE DB from Oracle 9i DB I receive the Forms message "Unable to allocate record buffer. Clear form to continue" when I perform an execute-query on any block with more than 50 rows.
    This dialog box has an OK button. When I press it I receive the Error "FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06502". Upon pressing OK to that dialog box I receive the message "Query caused no records to be retrieved."
    I realize this is probably a DB issue since it does not happen on a XE DB with the same data. I raised the flag in the DB forum but thus far I received one general answer that XE and EE db's are not the same, but no assistance was provided as to what I might look for to determine why XE works but EE does not (seems counter intuitive to me).
    Again, this is a Forms error and I checked all DB logs and cannot find any hint of why this is happening. Also I have tried this on multiple workstations with the same results.
    TIA for any help you can provide,
    Ed.
    Message was edited by:
    edkocol

    Mark,
    <When you run the form and the FRM error occurrs, immediately click on Help -> Display Error in the applications default menu bar. It may show an ORA number.>
    No can do.
    As soon as I hit the error the only thing I can do is hit the OK buton the dialog box. When I hit it I receive the Error "FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06502". I can only hit the OK butoon on that dialog box. Upon pressing OK to that dialog box I receive the message "Query caused no records to be retrieved.". Then I get the "FRM-40375:..." again. I can only hit OK button to that dialog box. Then I receive the "Unable to allocate record buffer" dialog again. Can only hit OK. Then I get the "FRM-40375:..." again. I can only hit OK button to that dialog box. Then the form closes.
    Ed.

  • Updating detail record and getting multiple 'UNABLE TO INSERT RECORD' msgs

    Help! We have 2 datablocks, master and detail block with relation defined. Master is defined with view based on database joins; detail is view based on table.
    When I update the record in detail block, error message 'UNABLE TO INSERT RECORD' appears four times, then I get transaction complete: 5 records applied and saved, where the one record successfully updates. Why are we getting four records with insert errors and one record update? We don't want to work directly on the table, but why can't we use the view? please help.

    The UNABLE TO INSERT record will be accompanied by more information if you press the Display Error key. Your form commit processing should stop when it gets an error like this, the fact that it doesn't implies that somewhere in your code you are not checking for FORM_SUCCESS before continuing doing something else.
    This sounds quite involved, we would need to have more information about what records are queried and what's being changed on them to cause the commit.

  • Unable to Display This Video

    Watching videos at nbcnews.com, some days get message: Unable to display this video. The ads always display, but not the stories.  And only some days. Why?

    You're right that when the apps are available they work better than Safari.  I can't find one for The Last Word, which is my favorite show.  And like I said, the problem seems to be intermittent, so I don't believe that its a Flash issue.  Actually, it's been a couple of days now since I could view The Last Word, so perhaps they are doing something different with their coding than before.
    Thanks for your suggestions... They are helpful.  :-)

  • PDE-PLI031 Unable to fetch record from table tool_modulre

    Dear ALL
    I am creating PL/SQL Libraries in report builder.
    but When I try to save the Library to database, a error
    PDE-PLI031 Unable to fetch record from table tool_modulre.
    Would you please tell me how to solve this problem
    and why it coming
    thankyou very much
    pritam singh

    Hi ,
    Saving a library (.pll) to database would store the object inside specific tables that are to be created.
    If you are using 6i, then you should find toolbild & toolgrnt.sql files which you have to run in the order specified. The above scripts creates the necessary tables and henceforth you won't get those errors while saving.
    Hope this helps.
    Thanks,
    Vinod.

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.

    We unable to display web part. It shows  below error web part error:
    Error while executing web part: System.Xml.XmlException: Root element is missing.     at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.ParseDocumentContent()     at
    Microsoft.SharePoint.WebControls.XmlUrlDataSource.FetchData(String requestUrl)     at Microsoft.SharePoint.WebControls.BaseXmlDataSource.Execute(String request)     at Microsoft.SharePoint.WebControls.BaseXmlDataSource.GetXmlDocument()
        at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
    could any one give me solution on this.
    Regards
    Ravi kumar
    ravi sharepoint

    HI 
    I got below error in that webpart.
    5/28/2014 6:21 AM
    w3wp.exe (0x1F04)
    10176
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (EnsureListItemsData). Execution Time=38.95746526444
    5/28/2014 7:04 AM
    w3wp.exe (0x1F04)
    10452
    SharePoint Foundation
    General
    High
    The user does not exist or is not unique.
    5/28/2014 7:04 AM
    w3wp.exe (0x1F04)
    10452
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (DataBinding DataFormWebPart (MCH Projects View Web Part)). Execution Time=1696.60494560063
    I got below logs message sharepoint log investigation tool.
    Let us know any suggestions on this.
    ravi sharepoint

  • Filter on a Report to display  records only  from last 12 months

    Hi Folks,
    I have a requirement where I have to display Records for last 12 months. Following is the Filter that I am using
    Opportunity."Close Date" >= TIMESTAMPADD(SQL_TSI_MONTH, 0, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE)-1), CURRENT_DATE)) AND Opportunity."Close Date" <= TIMESTAMPADD(SQL_TSI_MONTH, 12, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE)), CURRENT_DATE))
    But this is showing me records for next 12 months.
    How can I solve this Issue??
    Thanks and Regards,
    Amit Koul

    Dinesh,
    The filter that you suggested works for last 365days, if you try to create a simple report with just Date field in it, you will come to know the difference.
    Using the filter suggested by you it will show me records from 27th Jan 2008 since today the date is 27th Jan 2009.
    I want it to filter records for last 12 months including Jan 2009.(so the interval comes to be Feb 2008 to Jan 2009)
    Hope I made sense!!
    Thanks and Regards,
    Amit koul
    Edited by: Amit Koul on Jan 27, 2009 7:27 PM

  • How can I display records quickly in order, using set_block_property

    Hi all,
    I want to display records in order when I click on button corresponding to that filed.I'm getting result by using set_block_property..but it is displaying records slowly,if number of records are more then it's taking more time to sort the records.
    I have written the following code in when-button-pressed trigger:
    begin
    if get_block_property('block_name',default_where) = 'column_name ASC' then
    set_block_property('block_name', default_where,'column_name DESC');
    else
    set_block_property('block_name',default_where, 'column_name ASC');
    end if;
    end;
    How can I get the result quickly can anyone please give me an idea to solve this.
    Thanks in advance.

    Hi user;
    I want to display records in order when I click on button corresponding to that filed.I'm getting result by using set_block_property..but it is displaying records slowly,if number of records are more then it's taking more time to sort the records.
    I have written the following code in when-button-pressed trigger:
    begin
    if get_block_property('block_name',default_where) = 'column_name ASC' then
    set_block_property('block_name', default_where,'column_name DESC');
    else
    set_block_property('block_name',default_where, 'column_name ASC');
    end if;
    end;
    How can I get the result quickly can anyone please give me an idea to solve this.Did you try to use index for related column? Also did you try to use order_by instead of default_where
    If its not help, I also suggest post your issue on :Forum Home » Developer Tools » Forms
    Hope it helps
    Regard
    Helios

  • Display records according month

    hi all.
    i want to display records according months.
    i created view something like this.
    create or replace view month_timer (item1, amount,item_date) as
    select item1,sum(amount),item_date
    from table
    where trunc(item_date) between to_date('01-jan-2010') and trunc(sysdate)
    AND item_TYPE!=4
    group by item1,item_date
    ORDER BY item_dateany suggestions?
    sarah

    create or replace view month_timer (item1, amount,item_date) as here in this statement you are using item1 and only tree columns.
    select pcd_plt_id,pcd_cbr_id ,sum(amount),item_date And here in this statement there are four columns. So which column is for item1
    group by item1,item_dateHere you can use only selected columns in group by. But you are using item1 which you used above for view.
    And in select there are three columns without aggregate function. And you are using only two here.
    If you could post the table data and desired output. Then it will be easier to find better way.
    -Ammad

  • I'm looking for a display recorder app for my iPod touch, is there one available on the App Store?

    Hi,
    I've been wanting to make videos and tutorials on how to use some of Apple's apps, and also some games on my iPod touch (5th gen), and I've seen loads of videos taken from iOS within an app. I don't want to jailbreak my iPod, so that means that the display recorder by Cydia is off the list. Are there any screen recorders for iPod that have unlimited filming, and will let me access filmed videos so I can post them to YouTube?
    Thanks!
    SnappingScroll2

    Use Reflector:
    http://www.airsquirrels.com/reflector/
    to display the iPod on your computer's screen. You can then use screen capture software to make a recording of your actions. No need to jailbreak.
    Regards.

  • How to display records into a non table base block..

    Hi,
    Can anybody help me how to display records into a non table base block....
    Find below is my coding but it only display the last record in the first line
    in the block.
    PROCEDURE CREATE_CARTON_QUESTION IS
    CURSOR car_c IS
    select /*+ rule */ question_id, question_description
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
    v_found VARCHAR2(10);
    v_status boolean;
    v_error      varchar2(150);
    v_count number;
    car_r car_c%rowtype;
    begin
    begin
    select count(*) into v_count
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
         exception
         when no_data_found then
         v_count := 0;
    end;
    if v_count > 0 then
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id     := car_r.question_id;
    :la_carton.carton_question_answer     := 'N';
    :la_carton.carton_error_details     := null;
    :la_carton.attribute2          := car_r.question_description;
    end loop;
    end if;
    end;
    Thanks in advance.
    Regards,
    Jun

    Hi SNatapov,
    Thanks for you reply but still I get this error...
    FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
    Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
    Find below is the code....
    begin
    go_block('la_carton');
    first_record;
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id := car_r.question_id;
    :la_carton.carton_question_answer := 'N';
    :la_carton.carton_error_details := null;
    :la_carton.attribute2 := car_r.question_description;
    next_record;
    end loop;
    end;
    Hoping you can help me this problem...
    Thanks in advance.
    Regards,
    Jun

Maybe you are looking for