FORMS 6i DBMS_LOB on CLOBS / Urgent !

Is it possible to use the dbms_lob package within forms 6i for working with CLOBs ?
In PL/SQL the dbms_lob.getlength and dbms_lob.read works fine, but using the
same calls in Forms 6i results in an Windows Access Violation.

Hi Mohana,
Your problem is probably spacing. Try this:
declare
path varchar2(100);
file varchar2(50);
begin
path:='C:\program files\adobe\acrobat 4.0\reader\AcroRd32.exe ';
file:='C:\myfile.pdf';
path:=path | | file;
host(path);
end;
What I've done differently is put a space between acrobat and 4.0, and a space at the end after .exe.
null

Similar Messages

  • Forms 6.0 - Design & runtime - Urgent

    I have created a form with all options like
    insert ,update allowed and delete .
    Now I want to avoid creating one more form with this property disabled.
    Please suggest me how to use the same first form as a view only when
    I call the form from the menu.
    Urgent. Please suggest
    Thank you

    ah...
    you can use a call_form with the QUERY_ONLY-mode
    PROCEDURE CALL_FORM
    (formmodule_name VARCHAR2,
    display NUMBER,
    switch_menu NUMBER,
    query_mode NUMBER);
    query_mode     
    NO_QUERY_ONLY (The default.) Form Builder will run the indicated form in normal mode, allowing the end user to perform inserts, updates, and deletes from within the called form.
    QUERY_ONLY Form Builder will run the indicated form in query-only mode, allowing the end user to query, but not to insert, update, or delete records.

  • DBMS_LOB.FILE_READONLY error **URGENT**

    I use FORM to create a procedure to load the external Word file into BLOB. However, I always get the following error :
    -Implementation Restriction:'DBMS_LOB.FILE_READONLY' cannot directly access remote package variable or cursor
    I already compile the FORM in server.
    Please help!!!
    Urgent....

    Not sure if the UTL_FILE package is the same but if you don't set the "utl_file_dir" variable in the INIT.ORA file prior to calling the FOPEN procedure you will get a similiar error. There may be an equivalent parameter for the DBMS_LOB package.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mona Marathe ([email protected]):
    Hello!
    I've been trying to load an image file into the oracle database using the DBMS_LOB loadfromfile procedure. In order to do this, I first have to open the appropriate file which I do using
    temp_bfile := bfilename('temp_dir', in_filename);
    where in_filename is a string having the appropriate filename. and 'temp_dir' is a directory object created as follows:
    CREATE DIRECTORY temp_dir AS 'F:\';
    Next when I do a
    DBMS_LOB.FILEOPEN(temp_bfile, LOB_READONLY);
    I get an exception ORA-22285:non-existent directory or file.
    What am I doing wrong? Is the way I've created the directory object correct. I work on an NT machine.
    Mona<HR></BLOCKQUOTE>
    null

  • Inconsistent datatypes: expected - got CLOB (Urgent!!)

    Hi All,
    I am getting this error " inconsistent datatypes: expected - got CLOB" for a region based upon a SQL query. The base table contains a CLOB field but that is empty.
    Also, something strange is happening. This error comes for some users and doesn't come for some others. There is no authorization scheme on the page or on the region or on the column.
    I am using HTML DB 1.5.
    I don't know what am i missing. But, any help will be highly appreciated. It is quite urgent.
    Thanks in advance
    Monika

    I have something more to add to this issue.
    The CLOB field has been marked as a "Sortable" column. I think, this is creating problem as Oracle doesn't allow to sort on LOBs.
    But, again the behaviour here is not consistent. For some combinations of Sortable columns, there is no error and for some others error comes. Also, the CLOB column position in report attributes is affecting the behaviour.
    Does anybody have any idea on this unexpected behaviour.
    Thanks
    Monika

  • JSP parameter form question...Please Urgent..

    Hi,
    Can I use JSP parameter form to the Paper report.
    Like calling the paper report URL in the action=<" "> by passing the values selected in the jsp param form to the parameters in the paper report URL ?
    Please give me the code.
    Please help me. Its very urgent.
    Thanks alot.
    Priya.

    you just have to define the report user parameters with the same name you use in the JSP parameter form and setting the action attribute of the Form tag like that(calling rwservlet) action="rwservlet" & method="get", then all form inputs will be concatenated to the rwservlet call and passed as parameters to the report.
    thx.

  • GETTING FORM OUT OF QUERY MODE (URGENT)

    I have a form which start in Query mode, user enter in say employee ID. If that employee exists than user bring its record else create a new record.
    What I did is start in query mode, when user enter employee ID, I check to see if record exist, if it does then I just use EXECUTE_QUERY. Now I don't know what to do for new record. If I use CREATE_RECORD that doesn't work because form is in query mode. How can I make form come out of query mode programmically?
    I am using Form 5. Trigger I am using is KEY_NEXT_ITEM in Employee ID field.
    Need urgent reply
    Thanks

    Well Faisal, I have tried this code on the EMP table in the user Scott. I think it will solve your problem
    use the key-next-item trigger
    declare
    empid emp.empno%type;
    begin
    select empno into empid
    from emp
    where empno = :empno;
    clear_block(no_validate);
    set_block_property('emp', default_where, 'empno=' &#0124; &#0124; empid);
    execute_query;
    set_block_property('emp', default_where, '');
    next_item;
    exception
    when no_data_found then
    next_item;
    end;

  • How to create a dynamic fields in the Adobe Interactive form ?....urgent...

    Hi Experts,
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. Create two view -
    first_view and second_view in the WDP ABAP..
    2. In the first_view, there are a input field( named "elements_number") and  a button(named "create_button") .
    3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ).
    4. Run the WDP ABAP: first_view is opened. Type a number ex."3" in the "elements_number", click the "create_button".
    5. The second_view is opened.
    6. The "adobe_form" is occured.
    7. There are 3 text_fields in the "adobe_form".
    Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).
    Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples.  Do you give me some ways to implement the function? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

    Hi Philippe,
    Thank you very much in advance.
    Do you tell me how to hide elements in the "adobe_form" in the WDP ABAP? How can I get the elements attributes in the "adobe_form" from the method WDDOMODIFY of the second_view  in the WDP ABAP.
    Please give me some hints on this. Do you give me some ways to implement functions( hide elements and  get elements's attributes)? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

  • Problem faced in form while deleting a record-urgent

    we r in the testing stage of our project. we are facing a major problem. In one of the forms deletion is not working.
    we did migration from 6i to 10g. we migrated using migration assistant.
    in 6i code was working fine.
    in 10g record is not getting deleted from database and an error is shown as FRM_40510.
    We used the following code.
    if :BLK1_OBLIGOR.OBL_TNX_TYPE = 'D' then
    delete_record;
    kcheck_failure;
    else
    DO_APPRV;
    end if;
    commit_form;
    kcheck_failure;
    can u pls point out the mistake

    Hi,
    Code exists in pre-delete trigger as follows
    DELETE FROM grr_OBLGR_DATA
    WHERE grr_OBLGR_DATA.OBL_CAGID = :BLK1_OBLIGOR.OBL_CAGID AND
    grr_OBLGR_DATA.OBL_cntry_code = :blk1_OBLIGOR.obl_cntry_code;
    The delete allowed property for that block is set to 'YES'.
    Pls do help me to find out the problem. The issue is that the same code is working fine in 6i. The trouble is in 10g. Pls do advice me.

  • My dynamic form - issue with saving data (urgent-i would greatly appreciate any help)

    Hello,
    I have some problems with this dynamic form (created in livecycle)  http://www.pathology.ubc.ca/Academic_Activity_Data_Form_Jan_4_2013.pdf .  It doesn't save data unless I add a' new row' to any of these tables.   There are a few text fileds and if I type anything in there data won't be saved unless I trigger it by adding randomly a table row.  This is big problem as this form will be used for updates and if I want to change any of my entered records I will always have to remember to 'add a new row' otherwise just adding/changing text won't be saved. This might sound confusing but you will understanding what is going on if you type in your name and save the form and then type in your name, add a table row and save the form (first case won't be saved second will).
    I would greatly appreciate any help.
    Debbie

    Hi Marco Russo ,
    = CALCULATE (
        SUM ( [measure] ),
        PARALLELPERIOD (
            SAMEPERIODLASTYEAR ( DateTime[DateKey] ),
            0,
            QUARTER
    I have used the above DAX function it is working fine and i have applied same for Year , Quarter and Month 
    But when i remove month filters (Slicer) and Year filters in Power view report
     it is showing total Year values for Year and Quarter values
    for Quarter etc..
    Like below i am getting 
    Last Yr Month Amt   Current Yr Month Amt   Last Yr Qtr Amt   Current Yr Qtr  Amt    Last Yr     Current Yr
     10000                     30000                              10000                30000
                        30000       30000
    but i need Blanks in report if i am not selecting any filters
    thanks,
    Sreeni

  • How to transfer Internal table to a Adobe form? ....urgent...

    Hi Experts,
    I am not able to get the data in the adobe form from an internal table.
    I need to put the data in individual fields in the adobe form.
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. There are 1 table in the Adobe Interactive form((Adobeform)created by the 'sfp' t-code.
    a) create a interface with a structure(A_STRU).
    b) create a form with the interface.
    c) In the layout of the form, drag a table to the form.
    d) Binding the table to the A_STRU.
    e) Binding the fields of the table to the fields of the structure.
    2. Create a view -
    first_view in the WDP ABAP.
    3. In the first_view, there is a Interactiveform ( named "adobe_form" ) to be binding the Adobe Interactive form (Adobeform).
    4. Type the code in the wddoinit of the first_view for bindding the internal table to context of the adobe interface.
    DATA lo_nd_z_php_form_pay TYPE REF TO if_wd_context_node.
    DATA lo_nd_g_context TYPE REF TO if_wd_context_node.
    DATA lo_el_g_context TYPE REF TO if_wd_context_element.
    DATA ls_g_context TYPE wd_this->element_g_context.
    navigate from <CONTEXT> to <Z_PHP_FORM_PAY> via lead selection
    lo_nd_z_php_form_pay = wd_context->get_child_node( name = wd_this->wdctx_z_php_form_pay ).
    g_context is the context interface of the adobe form.
    navigate from <Z_PHP_FORM_PAY> to <G_CONTAIN> via lead selection
    lo_nd_g_context = lo_nd_z_php_form_pay->get_child_node( name = wd_this->wdctx_g_context ).
    binding the g_context to the form context.
    lo_nd_g_context->bind_table( result_payslip ).
    through the debug the program, I found 50 records in the result_payslip internal * * table .
    5. run the wda, I find the nothing data to be displayed in the adobe form.
    6. But I can transfer a string parameter from wda to adobe form. I don't know how to transfer data in the table?
    I don't know how to config the table in the adobe form?
    I hope to get the guide for step by step to solve the problem. Thanks a lot .
    I hope to get some hints. Thanks a lot .
    Pls help me out.
    Thanks & Regards,
    Tao

    hi ,
    I have similar difficulty.....
    I Am putting data from internal table into Adobe form using ABAP web dynapro.
    I am not able to see data in Adobe form though inernal table contains 14 records.
    Also, i have been thr' WDR_TEST_ADOBE
    but still not able to solve problem .
    Can you help me?

  • Master detail form ... EXTREMELY URGENT

    gurus,
    here is my situation -
    i have 2 tables ...
    master ---> base_rate_type
    detail ---> base_rates
    the detail table has base rates for the base rate type in master. the detail can have multiple records but, only one active base rate.
    when the form is run, the user needs to see only the active base rate and on a click of a button the user needs to see the history of all the base rates (all inactive ones and one active).
    this is what i'm doing --
    1. created a view (base_rates_v) of all the active base rates from the detail table.
    2. created a master detail form -
    master ---> base_rate_type
    detail ---> base_rate_v
    the form shows only active records.
    3. created a custom button in the detail. the custom button displays all the records from base_rates table for that master.
    4. HERE IS THE PROBLEM -
    user can enter future base rates (active in future), but the user cannot enter another base rate which would be active rightaway, which means there will be only one base rate ACTIVE at any point of time.
    how would i validate the new base rate against the current ACTIVE BASE RATE ... ?
    i think i could do it in INSTEAD-OF TRIGGER but, then how would i convey the error message back to the user as a ALERT .... ?
    is it possible to alert the user from PL/SQL section of the Portal button ... ?
    any ideas anyone ...
    thanx a lot ...
    null

    dmitry,
    here is what i'm looking for -
    a base rate type can have multiple base rates, each having a start date and a stop date. at any point of time only one of them would be active.
    for example -
    Base rate type --> Type A
    Base Rate Start Date Stop Date
    7.5 10-jan-2001 10-feb-2001
    7 11-feb-2001 10-mar-2001
    8 11-mar-2001 9-jun-2001
    7 10-jun-2001 10-jul-2001
    5 10-oct-2001 10-nov-2001
    so in above case the second last one is active.
    the requirement is when i run the form it should show only active and future base rates. the last one in the above example is future base rate.
    so, i created a view on detail table that shows only active and future base rates. and then a master detail form (the view being the detail). i also created a custom button in the detail section, that would open a report and show all the base rates for a particular base rate type ('A' in above case).
    the VALIDATION that is required in the form is as follows -
    the form displays following -
    Base rate type --> Type A
    Base Rate Start Date Stop Date
    7 10-jun-2001 10-jul-2001
    5 10-oct-2001 10-nov-2001
    if the user enters a new base rate as foll -
    Base Rate Start Date Stop Date
    8 15-jun-2001 15-jul-2001
    then the new base rate overlaps with the existing active base rate. if it so happens i need to ALERT the user that a active base rate already exists for that period.
    how would i achieve this ... ?
    it does not matter if i validate it using JS or pl/sql.
    i was thinking JS would be difficult to use considering, the validation needs to go and check the existing base rates in the table.
    any ideas ...?
    thanx a lot ...
    null

  • Display XML forms in a single window-URGENT!!!!!!!

    Hi,
    I created a project with XML forms Builder. It is working but the thing is that now i just want to display all the forms in the same window. Means that when i want to edit a new item instead of a new window i want to work in the same browser.
    Is that possible by configuring a resource renderer(NewsRenderer for example)?
    Otherwise do u know another solution?
    Please i need help.
    I found a topic in the forum (thread below) https://forums.sdn.sap.com/thread.jspa?threadID=46122&messageID=466382
    But i didn't understand all the points.
    So if someone know something please answer.
    Thx in advance.
    MJ

    Hi Robert,
    I did as u said: I downloaded the file <u>YOUR_PROJECT_NewsRenderListItem.xsl</u> but i didn't find any <b>_blank</b> in the text. Let's say i have exactly the same problem than in the previous thread, i don't know where to add the URL and where to replace _blank.
    I don't know where to find the method <u>CreateXSLDocument</u>(Detlev thread) and what is its interest?
    Can u please explain where i can find "xinfo=window.open(url,'_blank',params)"? It should be (according to Detlev) in <u>com.sapportals.wcm.app.xfbuilder.server.generator.xsldocs.CreateXSLDocument</u> but i really don't know how to reach this address.
    Thx a lot!!!
    best regards
    MJ

  • How to add new a font with Forms 6i running on Web URGENT !!!

    In Forms 6i , I have added a new Font and installed it successfully .In client Server
    mode the Form is Successfully Showing me
    the newly added font. But when I run this Form on Web It does not shows me the font correctly. The font is a True Type Font for
    Windows . I am running my forms using OAS 4.0.8.1 on Win NT. Do I need to make some configurations on the Server ????
    Please Help ?????

    Thanks.
    1/ Actually most of the customers will use our app through normal 56k modems. Their first connection must avoid to download Jinitiator which is 8Mo, so we don't want people to use Jinitiator (opening the session is even longer with Jinitiator than IE5).
    2/ Moreover, the applet window has a grey title line with the word "window" and the name form : this is not internet at all ;-)
    3/ A normal connection through a firewall doesn't work with the famous port 9000.
    help please.
    Thank you
    null

  • Oracle 9i Application Server+Oracle 8i EE+ Forms on the web Very urgent

    Hi,
    I have correctly install Oracle 9i Application Server and Oracle 8i Entreprise Edition on Windows 2000. What are the following steps to follow in order to run a form on the web. example: test.fmx?
    Thanks in advance.
    null

    If your web server is working and the forms server is running type:
    http://ip addr:port/dev60html/runform.htm
    You need to put the ip address or name of your server in and the port number apache is running on (leave blank if this is 80).
    This gives you the Oracle Forms start screen.
    cheers
    tony

  • Complete forms execution path  plz help URGENT

    Hi all,
    How can i know the entire path of my current form being executed.
    I want a complete path of my form eg:
    c:\abc\form.fmx or d:\abc\form.fmx and so on.
    whether the form is being executed from hard disk,floppy or cd.
    I am using forms 5.0
    Can anyone give me an idea plz.
    navneet jain
    [email protected]

    use:
    Get_application_property(current_form) for this
    Good luck,
    J

Maybe you are looking for

  • Why does my 2012 macbook pro become slow sometimes?

    I've purchased my 2012 4gb ram Macbook ram w/ 500 gb hard drive around September. It started off extremely fast the first 4 months (when I had mavericks), but there we're problems with the Video playback towards the last 4 months (It would Freeze and

  • DPM 2012 R2 - Windows Server 2012 R2 Hyper-v backup of Windows Server 2003 R2 - Non-retryable error 0x80070490

    Hi, I have a hyper-v host running Windows Server 2012 R2 Standard with Hyper-V on it, and on that host I got 5 virtual machines running and of those 5, 4 of those the DPM are able to backup but when DPM tries to backup a server running Windows Server

  • Deleting photos from hard drive

    I have been using iphoto since 2009, but I really don't like it.  I want to switch to Picasa.  I have saved my photos to an external harddrive.  Then I unplugged the external.  I then moved the iphoto from the dock to the trash.  I also removed picas

  • Apple TV wifi indicator light

    When did the green, wifi indicator (in lower left corner) get added? And how can you get rid of it?

  • Help using Oracle Diagnostic Logging (LoggingContext)

    Hi, We are developing a new Product from scratch and have decided to use as much as we can from Oracle Libraries. Currently we are using Oracle Diagnostic Logging (ODL) for logging in our application, having a wrapper on top of it, which will make ou