How to refresh or close graphics from forms

I call two graphics from forms, through pl/sql. There are
parameters in the forms to tune the graphics. But trying to
refresh the graphics results in access violation and the
graphics becomes a 'zombie'. Why is it possible ? How to avoid
it ?
null

Hi,
I am a newbie in taskflow development world.
Having gone through the above answer, I am not sure on how it fits in my problem domain. I created a taskflow with few iinput parameter to it. Actually it's a polling application that displays a poll on the basis of poll id provided by user through taskflow input parameter. A new requirement came up to show a list of polls and user may click on a poll from the list and that poll should get displayed.
I have done the showing list of poll part, but when user clicks on a particular poll, even though I am setting the poll ID of the selected poll to the appropriate parameter, it's not being taken. While doing some R&D on this, I found there are two attributes called Refresh and RefreshCondition for taskflow refreshing. Initially the value of Refresh was set to 'always' which I modified to 'ifNeeded' and 'deferred', one at a time and it did not work. I have also tried binding a boolean variable to 'RefreshCondition' attribute, but while debugging, I have found, that the boolean variable is read only once while the taskflow is getting initiated, no matter what the value of 'Refresh' is.
I did not get much time to explore the meaning and applicability of 'Refresh' and 'RefreshCondition' attributes, but have a feeling that these are the ones that I have to tweak a little to get my work done. Can someone please help me on this?
Thank you,
Kanchan Upadhyay

Similar Messages

  • Graphics from Forms or Reports

    When I am running graphics from forms or reports either using the chart wizard or by run_product built-in, I am getting error message OG-01603: UNABLE TO CREATE PL/SQL DEVELOPMENT ENVIRONMENT CONTEXT
    I am using Developer 6i.
    Please help me out.
    Thanks
    Zulqarnain

    I have tested on my pc it is perfectly working.
    Please check before installations..
    Is there any other oracle product is running in the same machine?
    1. Are you installing Dev 6i in a machine where Oracle database(8.0 or 8i) is installed?
    2.First shutdown the database. Stop the oracle services running.
    3. Then start installing Dev 6i in a different oracle home.

  • How to execute Pro*C file from form

    Hi All !
    I have one pro*c file(.pc & .exe) . How I can execute this file from form.
    Regards,
    Neeraj

    I think you could use Ora_Ffi package too. Make sure that you use correct version of Pro/C.
    I think you should use Pro/C version 8.0.x with Forms 6.0. I don't use Forms 6i, but I think it is the same for it too.

  • How to refresh Java service facade from entities tables

    Hi Everyone,
    somebody of you guys know how How to refresh Java service facade from entities tables. from oracle jdeveloper 11g.
    my tools are:
    Toplink
    Adf
    Java Service Facade.
    thanx

    Hi,
    sounds what you want is to wag the dog with the tail. What is the use case you want to implement? Do you want to refresh a collection in response to RDBMS changes ? If so then Active Data Services is an option. However, your question is not well asked and I am already spending more time in answering your question than you spent writing it
    Frank

  • HOW CAN I EXECUTE DINAMIC SENTENCES FROM FORMS

    HOW CAN I EXECUTE DYNAMIC SENTENCES FROM FORMS.
    Ex.
    I would like to execute this commands from table SENTENCES
    COL1
    set_item_property (item1, enabled , property_true )
    set_item_property (item2, enabled , property_true )
    set_item_property (item3, enabled , property_false )
    Regards
    Message was edited by:
    jcruizcarrera
    Message was edited by:
    jcruizcarrera

    ... but you could imagine a sort of workaround...
    PROCEDURE Set_Item
        PC$Item     In Varchar2
       ,PN$Property In Number
       ,PC$Value    In Varchar2
    ) IS
    BEGIN
       Set_Item_Property( PC$Item, PN$Property, PC$Value ) ;
    END;That you can call like this:
      Set_Item( 'BL.BUTTON', LABEL, 'Hello' ) ;Francois

  • How to call a web service from forms 9i

    Hello all, I was trying to run the example on this website that shows how to call a webservice from forms, and I recieved an error. I am at the last step, where it tells me to create a button and add a when button pressed trigger. Here is the code I am using from the example:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := CurrencyExchangeServiceStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv := CurrencyExchangeServiceStub.getRate(jo,'USA','UK');
    message (float_.floatValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;
    It gives me an error on"Exception_.tostring" component must be declared. Does anyone have any suggestions? I am trying to figure out how to call an external WS from a form. Thanks.

    IN forms Builder under Import java classes
    Change the Import Classes field to java.lang.Exception and press Import. This will create a PL/SQL package for the Exception Java class. While this is not essential, it does make error reporting easier. Now press Close to dismiss the dialog.

  • Calling Graphics from Form the App Crashes

    I have a problem when I call Graphics from a Form.
    The Graphics file builds dynamically many boxes.
    The Form file has a Chart Item with this graphics file (calling it in batch mode.
    I have noticed that sometimes, when I click on the chart or when the form builds the graphic the app quits or crashes. (When I run the graphic file alone from Graphics Builder there is no problem)
    Has anyone seen this? Any idea? Is it a problem with the memory? Maybe a memory limitation when a form calls a graphics file???
    Thank you.

    I have a similar problem, and don't know why, sometimes if I close the graphics runtime there's no problem

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • How can i run a reports from forms

    Oracle forms 9i
    Hai All
    I am using oracle forms 9i.
    From the forms i need to generate a reports how can i generate a reports from there
    Regards
    Srikkanth.M

    there are hundreds of examples in this forum. Do a search

  • How to Refresh a Single Graphic based on Time of Day

    On this Muse Developed Website, HOME | The Great American Car Wash, The traffic light is programmed to change to Red when the business is closed and to green when it opens. The code that I wrote incorporates this meta tag:
    <meta http-equiv="refresh" content="5"/>
    This refreshes the entire page every 5 seconds. The page blinking as it refreshes is undesirable. My best temporary fix is to change the refresh rate to 2 minutes. I have it tentatively set to 5 seconds for troubleshooting. It will be set to 30 seconds when it is time to publish the site.
    I used the "INSERT HTML" command in Muse to add the code. It works as intended, except for the annoying page blink to refresh the traffic light. The business owner could easily tolerate a traffic light blinking on refresh.
    Is there a way to just refresh only the graphic? Or is there a better way to automatically "update" the status of the light?
    Thanks.
    "Cincinnati"

    You can try the suggestions mentioned here :
    http://stackoverflow.com/questions/17886578/refresh-part-of-page-div
    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jquery-and-aj ax/
    Thanks,
    Sanjit

  • How to call Pl/sql procedure from form ?

    Hi all,
    I need to call a procedure from form after the user has pressed the button to invoke the sql procedure, can anyone please advise me on how to do it ?
    Thanks.
    Lim

    Hi,
    Thanks for your reply.
    yes, I have include in when-button-pressed trigger as
    AIC_PROC_AR_CCID_UPD;
    Below is my procedure :-
    CREATE OR REPLACE PROCEDURE AIC_PROC_AR_CCID_UPD(errbuf out Varchar2,
              retcode out Number ) is
    VAR_BUF VARCHAR2(240);
    Cursor C1 is
    SELECT CONCATENATED_SEGMENTS ACCT,
    SEGMENT5 SEG5
    FROM AIC_GL_COA AGC
    WHERE AGC.CODE_COMBINATION_ID IS NULL;
    Rec1 C1%RowType;
    BEGIN
    FOR Rec1 IN C1 LOOP
         BEGIN
         UPDATE AIC_GL_COA A SET ( DESCRIPTION, CODE_COMBINATION_ID, SEGMENT5 )=
         ( SELECT FFVT.DESCRIPTION, GLA.CODE_COMBINATION_ID, GLA.SEGMENT5
         FROM GL_CODE_COMBINATIONS_KFV GLA,
         FND_FLEX_VALUES_TL FFVT,
         FND_FLEX_VALUES FFV
         WHERE GLA.CONCATENATED_SEGMENTS = REC1.ACCT
         AND FFV.FLEX_VALUE = REC1.SEG5
         AND FFV.FLEX_VALUE_ID = FFVT.FLEX_VALUE_ID
         AND FFV.FLEX_VALUE_SET_ID = 1002673 )
         WHERE A.SEGMENT5 = REC1.SEG5 ;
         EXCEPTION
         WHEN NO_DATA_FOUND THEN
         FND_FILE.PUT_LINE(FND_FILE.OUTPUT, 'NO RECORD UPDATE !!');     
         END;
    END LOOP;
    COMMIT;
    RETURN;
    END;
    However, when I try to compile it, error prompt :-
    Error 306 at line 1, column 1
    wrong number or types of arguments in call to 'AIC_PROC_AR_CCID_UPD'
    Error 0 at line 1, column 1
    statement ignored.
    By the way, my form 6i is running at client site and connection to procedure in unix server. Will this is ok ?
    Thanks
    Rgds
    Lim

  • How can print a file PDF from  form

    Hi to all,
    I need to print a file PDF from form (developer 6i), Is IT POSSIBLE?
    Thank you
    Silvia

    "Print" probably won't work for a pdf file. As the HOST command try:
    host('<path_to>/AcroRd32.exe /t pathname "printername" "drivername" "portname"');See "How do I use the Windows command line with Acrobat and Adobe Reader?" in:
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • How to Refresh UAT Primary/standby from Production primary/standby

    Hi ,
    We have the following setup :
    Primary/standby - Production
    Primary/Standby - UAT
    I need to know the process on how to refresh the UAT primary/standby .
    I'm thinking on the following lines :
    1] If we have the export dump of production , can we go ahead and drop the schemas to be refreshed on both UAT Primary and UAT Standby UAT then perform the schema import on Primary UAT .
    2] In case if I have to do a full refresh of UAT , do I need to rebuild the UAT environment from the proudction backups Ie,
    (i) Drop both the UAT primary and UAT standby database .
    (ii) using the produciton backup built the UAT Primary . Take the UAT primary backup and build the UAT standby .
    Appricaite if any one can provide some best practices to refresh UAT from Production.

    That setup seems to be rare. We assume that the Standby Database is used for testing and have a feature for that called Snapshot Standby.
    But in your scenario, you need to develop your own techniques for "refreshment of the UAT Primary".
    An easy way (if your Primary is not too large): Throw away your UAT env each time the "Production Primary" changes and RMAN clone it to "UAT Primary" then.
    Then RMAN duplicate "UAT Standby" again. Could be relatively easily scripted.
    But again: Why not just create an ordinary Standby on your UAT hardware and use it for testing with Snapshot Standby feature? Much easier to maintain.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

Maybe you are looking for