Forms [32 Bit] Version 6.0.5.0.2 :: BLock based on stored procedure

Trying to develop a form having a block based
on stored procedure. My form works fine if
the stored procedure having REF CURSOR as one
of the argument but if I am using dynamic SQL
in my procedure I can not use Strong REF CURSOR, so I had to use Pl/Sql Table as one of the parameter in the proceudre.
In that case when I run my form and Execute the query it just comes out of the form without displaying anything and also it doesn't throw any error.
Don't know what I am doing wrong.
Pl. Help...
null

I drilled down the proble further and identified that i can
recreatr the problem in any 7.3.4 database ....
But in 8.0.5 it's working fine .....
Is developer 6.0 is going to support Oracle 7.3.4
it'll be highly appreciated if any one from Oracle development
team can give me a response
Thanks in advance...
Lebon Mathew (guest) wrote:
: Problem : If a block value is refered in
: a LOv - record group query
: the form cannot adjust the out put .. and
: is not generating.....
: Record group query which works :
: select security_role, sec_role_desc, database_role
: from security_role
: where wnd_appln = 'XXXXXXXXX'
: order by security_role, database_role
: Record group query which is not working :
: select security_role, sec_role_desc, database_role
: from security_role
: where wnd_appln = :APP_ROLES_BK.wnd_appln
: order by security_role, database_role
: Error Generated :
: FRM-30064: Unable to parse statement icrgg/icrggc: hicrg.
: Record Group SECURITY_ROLE_LOV
: Form: EMPLOYEE
: FRM-30085: Unable to adjust form for output.
: Table structure :
: CREATE TABLE security_role
: security_role VARCHAR2(15) NOT NULL,
: sec_role_desc VARCHAR2(20) NOT NULL,
: open_nsr VARCHAR2(1),
: open_pkt VARCHAR2(1),
: chg_wk_grp VARCHAR2(10),
: asgn_anlst VARCHAR2(10),
: updt_oth_wkgp_pkt VARCHAR2(1),
: admin_tasks VARCHAR2(1),
: create_po VARCHAR2(1),
: billing_changes VARCHAR2(1),
: invoice_changes VARCHAR2(1),
: change_owner VARCHAR2(1),
: wnd_appln VARCHAR2(15),
: database_role VARCHAR2(20)
: PCTFREE 10
: PCTUSED 40
: INITRANS 1
: MAXTRANS 255
: TABLESPACE wa0dat0t01
: STORAGE (
: INITIAL 32768
: NEXT 8192
: PCTINCREASE 0
: MINEXTENTS 1
: MAXEXTENTS 121
: w@w Lebon Mathew
: WellsFargo - Telecom Applications
: (415)-477 6445
null

Similar Messages

  • Forms Data-Block based on stored procedures - REF CURSOR feature NOT FUNCTIONING

    This topic is related to another topic in this forum titled "FORMS HOW TO SET QUERY SOURCE ARGUMENTS??" I posted my message there as well. I am posting as a NEW TOPIC so that it catches the attention of Oracle Support.
    I built a data form based on a stored procedure and REF CURSOR IN OUT parameter.
    My procedure takes a IN parameter to fill in the criteria for the OPEN <cursor_variable> select ... where ... statement.
    In the Value setting of the Query source Arguments , I set the VALUE to ":BLOCK_NAME.ITEM_NAME" at design time to supply the input value to the procedure. this works to the extent of making available the form item value to the stored procedure parameter. I verified this by doing an insert into some debug table , of the incoming parameter value inside my stored procedure.
    The cursor gets opened properly into the REF cursor variable. I verified this by fetching a record into a local variable and inserting the value into a debug table again in the stored procedure.
    (I took care to close and re-open the REF cursor variable again - so that the front-end can continue to fetch it from the first record. )
    ***** PROBLEM **************
    But the front end forms runtime is giving me a FRM-40301 - query returned no records even though the REF cursor is returned properly opened.
    Did anybody else face the same problem ??
    Please post what you found.
    Thanks,
    Shankaran
    null

    This topic is discussed at length in another thread "How Set Value For Query DataSource Arguments?"
    But I am posting the findings here as well.
    THIS TOPIC IS CLOSED.
    My Bad. The problem Cause : I did not include all columns in the
    cursor rowtype in the Data-block. In the wizard for the data block , I selected ONLY the columns that I needed. But I was doing a Select * from <my_table> in my open cursor <Cursor-Variable> .... The <Cursor Variable>
    itself was declared <my_table>%rowtype
    FIX : The Data Block structure (columns included as items) should match the cursor record Structure. One may or may not
    display all the columns in the LAYOUT though.
    But I don't understand why it gives such a misleading message like FRM-40301 Query retrieved no records. Oracle Team fix it.
    Hope this helps people who face the same problem.
    Thanks,

  • Forms Crashing  Forms [32 Bit] Version 10.1.2.0.2 On Windows 7

    Dear All,
    Recently we have migrated all our Development PC's to Windows 7, and then after whenever we open any forms which is having more size the system is crashing. Does anybody have any solution for this .Currently we are working with XP MODE and this is also not a full proofed solution.
    OS : Windows 7 Professional 32 bit
    Forms Developer Version : Forms [32 Bit] Version 10.1.2.0.2
    Thanks in advance.

    It is likely that you are either not using a Professional release of Windows (i.e. "Home Edition") or have some other issue on your machine. Assuming you are in fact using one of the Professional releases of Win7 and believe that you have carefully followed the installation instructions which I previously mentioned, I would suggest you completely uninstall (including the manual deletion of any registry entries and directories in the file system) then reinstall. It is very important that you are in the "Administrator" group before attempting to install. The same is true when you attempt to use the Builder. Also, helpful would be to disable or relax Windows UAC before starting the installation.
    As an alternative, consider installing and using Windows XP Mode (Windows Virtual PC)
    http://windows.microsoft.com/en-US/windows7/install-and-use-windows-xp-mode-in-windows-7
    http://www.microsoft.com/windows/virtual-pc/download.aspx

  • .Forms [32 Bit] Version 10.1.2.0.2 (Production) report server.

    hi
    i have a question about Forms [32 Bit] Version 10.1.2.0.2 (Production) so many users are facing the problem in report server and even i faced the problem,
    i started the report server and tried to display the report but it was giving me errors sometimes
    REP-41213 unable to connect to report server and sometimes
    REP-51002: Bind to Reports Server <servername> failed and so on.
    but after using an ip address or MS loopback adaptor then it works perfect.
    in Forms [32 Bit] Version 9.0.4.0.19 (Production) its working with machine name and we do not need ip address and also we can start report server by services.
    But in Forms [32 Bit] Version 10.1.2.0.2 (Production) its not the same and all the time we start report server by command.
    Is there any solution in Forms [32 Bit] Version 10.1.2.0.2 that run report server without ip or loopback but only work with a machine name?.
    sarah

    Hi Sarah,
    my reports-server works all the time, and i did not do any configuration or install any loopback-adapter. I have a reports-server name like rep_<machine> and can use that in forms also as in URL-syntax.

  • I want to install webutil for Forms [32 Bit] Version 10.1.2.0.2 (Production

    hi all
    i want to install webutil for version Forms [32 Bit] Version 10.1.2.0.2 (Production) plz guide me with full of configurations .Already i searched the forum but i am still not able to install.Plz help me out.thanks in advance.
    sarah
    Edited by: SarahSarahSarah on Sep 13, 2009 11:58 AM

    Fully agree with Michael's answer.
    For all things webutil the best place to start is the webutil home page on OTN.
    In appendix A of the webutil pdf there is a handy checklist.

  • Collection type supported in Oracle Forms Forms [32 Bit] Version 6.0.8.11.3

    Hi
    I am trying to call this from forms.
    I am getting error no data found whenever this calles IF condition but from backend if run it from a script it works fine.
    So I was thinking whether Forms PL/SQL version supports collection types.
    I am using Forms [32 Bit] Version 6.0.8.11.3 (Production) for Oracle Application 11.5.10 version.
    IF (p_emp_ids.COUNT > 0) THEN
    FOR r IN v_emp_ids.FIRST..v_pkg_ids.LAST LOOP
    Thanks in Advance

    Is it just a a typo that the IF is on P_emp_ids and the loop is on V_em_ids?
    However: the NO_DATA_FOUND exception suggests that you may be falling down a crack in your collection. If you have a missing element between FIRST and LAST you will get a no_data_found. Suppose these elements are there:
    (1), (2). (3), (5), (6)
    You will start at FIRST (1) and finish at LAST (6). But your loop on R will try to find the element at (4). Which isn't there. Oops...
    To prove that's what's happening, you can wrap the inside of the loop with an exception handler
       BEGIN
          do the access to v_emp_ids(r)
       EXCEPTION
          WHEN NO_DATA_FOUND then (log a message with the value if R in it)
       END;If you want to walk a collection with gaps (a "sparse" collection), this is the way:
      DECLARE
         r pls_integer;
      BEGIN
         r := v_empids.FIRST
         LOOP
             EXIT when r IS NULL;
             do the business on v_empids(r);
             r := v_empids(r).NEXT;
         END LOOP;Now, why didn't this work in Forms, but did on the server? Possible reasons:
    - your back end script was set up differently - so you had a dense collection (no gaps)
    - Client side PL/SQL is different from server side (is it still version 1.x?)
    HTH
    Regards Nigel
    Message was edited by:
    nthomas

  • Installing Patch 18 on Oracle Forms [32 Bit] Version 6.0.8.11.3

    I have Oracle Forms [32 Bit] Version 6.0.8.11.3 (Production) installed on Windows 7 64bit. It crashes abruptly with message "Oracle Forms Designer has stopped working". Google search showed to install Patch 18 for windows which may or may not solve the problem since its not certified with 64bit OS.
    I tried to install Patch 18 and if I choose existing Forms 6i installation it stops saying "C:\Oracle\Forms6i is already used as an Oracle home for nt(1). It cannot be used as an Oracle home for nt". Installing in a new home didn't upgrade the Forms 6.0.8.11.3 to next level.
    Any help regarding its installation or steps would be highly appreciated. Thanks!

    If you know the patch number, search for the same on Metalink.

  • Forms [32 Bit] Version 10.1.2.0.2 (Production) on Windows 2008

    Hi ,
    Can anyone tell me whether Dev suite 10g , (Forms [32 Bit] Version 10.1.2.0.2 (Production)) is certified with windows 2008 or not.
    Rgds

    Please check here http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html
    Cheers,

  • Download link for Forms [32 Bit] Version 6.0.8.12.1

    Hi All,
    please give me the URL to download Forms [32 Bit] Version 6.0.8.12.1.
    Regards
    Manish

    Go to otn.oracle.com/products/forms and click on teh SOFTWARE link on the left.
    Grant Ronald
    Forms Product Management Grant,
    I also urgently need the version 6.0.8.12.1
    BUt the link you mentioned constains 6irel2nt.exe file. When installed it
    is verions 6.0.8.11.3
    What and where can I find a patch to make it 6.0.8.12.1
    OR would i have any problem compiling programs in the 11.3 and run in runtime 12.1?
    Many thanks on you advice!

  • Forms [32 Bit] Version 6.0.8.12.1 Download Link

    Hi All,
    Can i have the link to download Forms [32 Bit] Version 6.0.8.12.1 .
    Regards
    Manish

    Go to otn.oracle.com/products/forms and click on teh SOFTWARE link on the left.
    Grant Ronald
    Forms Product Management Grant,
    I also urgently need the version 6.0.8.12.1
    BUt the link you mentioned constains 6irel2nt.exe file. When installed it
    is verions 6.0.8.11.3
    What and where can I find a patch to make it 6.0.8.12.1
    OR would i have any problem compiling programs in the 11.3 and run in runtime 12.1?
    Many thanks on you advice!

  • Would like to create a file upload facility in a form based on stored procedure

    Hello,
    I would like to create a 'File Upload' in a 'form based on stored procedure'. The version of portal that I am running is 3.0.7.6.2. In this version, only 'form based on table' has the ability to upload files. Or is it that I am missing something?
    Please let me know if this is possible in higher versions of portal.
    Thank you for your help.
    Jayasree

    I have kin od fdone this by using the additem fucntion, if you look at the HTML of the add file page, you can see the parameter that are required for the form.

  • Help: FORMS based on stored procedures

    I am working on a FORM based on stored procedures. This particular FORM performs a query and generates say,
    customer_name, item1_sale, item2_sale and sum of the item1_sale and item2_sale.
    I'd like to know if there are ways that the query procedure returns to reference cursors that one with multiple records and one with the sums? The FORM will then be able to show rows of sales and the bottom row with show the sale totals.
    Thank you in advance.
    Jimmy

    Francois,
    I just tried another way of getting the totals. I manually created a data block and add two items tot_1 and tot_2. I the item properties: I set calculation:
    calculation Mode: Summary
    Summary Function: Sum
    Sumary Block: BLOCK_A
    Summary Item: item1_sale etc.,
    I got a compile error:
    FRM-30377: Summary item must reside in single-record block or in same block as summarized item.
    Where do I catch this error?
    Thanks.
    Jimmy

  • Help: FRM-40505 for a FORM based on stored procedures

    Hi,
    I am working on a FORM based on stored procedures. When it performs a query, it actually returns record, but still comes with the message FRM-40505: ORACLE error: unable to perform query. Any recommendations on the possible coding area to check?
    Thank you in advance.
    Jimmy

    Jimmy,
    To base a block on a stored procedure is not a simple task because it depends on the .....
    .... stored procedure !
    If you do not provide much information (like the famous stored procedure), we could not do anything for you.
    As much information you provide, as much chance we have to understand the problem.
    Francois

  • RAISING EXCEPTION AND SHOWING TO USERS IN FORM BASED ON STORED PROCEDURE

    I have a form based on stored procedure.
    I want to handle exceptions in the stored procedure and show it to users.
    Here is what i want to do.
    I have a sku# field in the form and i want to validate it(against the database
    table) in the procedure before inserting into the database.
    I want to give a message to users when the validation fails.
    How is this possible with the forms based on stored procedure?
    Can i use javascript to do the same?
    Thanks in Advance

    I have a form based on stored procedure.
    I want to handle exceptions in the stored procedure and show it to users.
    Here is what i want to do.
    I have a sku# field in the form and i want to validate it(against the database
    table) in the procedure before inserting into the database.
    I want to give a message to users when the validation fails.
    How is this possible with the forms based on stored procedure?
    Can i use javascript to do the same?
    Thanks in Advance

  • Can we use Forms [32 Bit] Version 10.1.2.0.2 (Production).

    Hellow All.
    Can we use Forms 10g [32 Bit] Version 10.1.2.0.2 (Production) Application in Forms[32 Bit] 10g R1?
    Is it Possible?
    Any help would be greatly appreciated.

    I agree with Andreas
    if you are using application server 10g r2 so the forms and reports runtime version is diffirent from oracle 10g 9.0.4 you should have the same developer suit version at your client pc example if you have oracle as 10g 9.0.4 your developer suite at your pc should be 9.0.4

Maybe you are looking for

  • Connection refused when trying to getOutputStream from https connection

    Hi all ! I want to make an https connection with a server to send/get the request/response What can be the cause of the following error in the following code testHttps.java? java.net.ConnectException: Connection refused: connect at java.net.PlainSock

  • Why can't i open a pdf with adobe reader X

    When am i not able to open the PDF with the Adobe Reader X, and also not able to choose it as programm for opening of the PDF. (Right click and "open program with", it's not possible to choose Reader, when i try nothing happens and it's not added to

  • ABUMN using multiple assets

    Hi experts, I am trying to process transaction ABUMN for about 100 assets.  When I click on the multiple assets button, only six lines appear.  The clipboard functionality does not appear to work.  The clipboard icon is greyed out. Does anyone know h

  • How can I transfer my Skype to free call, not cred...

    How can I transfer my skype to free call not cridet Enquiry transferred to create new topic; subject/title edited accordingly.

  • Mouse moves on its own

    hey, does anyone have the same problem? my mouse on the screen moves on its own and presses random buttons:( so annoying I haven't had this computer even a year and its giving me a problem. I use logitec wireless mouse. is there anything i need to se