How to use BLOB in Oracle Forms 10g?

Hi
I defined a column in a table with the type BLOB,
then I used it at the form with a data block.
Now how can I let the user to insert his photo in this column?
If you don't know the answer please put any web links that may helps me

Hi Omkar,
Please check the following code.
DECLARE
  repid REPORT_OBJECT;
  v_rep VARCHAR2(100);
  rep_status VARCHAR2(20);
  plid ParamList;
BEGIN
  plid := Get_parameter_List('tmp');
  IF NOT Id_Null(plid) THEN
  Destroy_parameter_List( plid );
  END IF;
  plid := Create_parameter_List('tmp');
  add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
  Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
  repid := FIND_REPORT_OBJECT('POL_REP');
  SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
  SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
  SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
  SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
  v_rep := RUN_REPORT_OBJECT(repid,plid);
  rep_status := REPORT_OBJECT_STATUS(v_rep);
  WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
  LOOP
  rep_status := report_object_status(v_rep);
  END LOOP;
  WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
  '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
  '&paramform=no');
END;
I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
OracleAS Report Services
Version :-   10.1.2.0.2
Name    :-   prod_report_server
Status  :-   Server is Shutting down
Jobs in Queue  0
Active Engines  0
I got the Following Error when I trying to run the Report
FRM-41211: Integration error:SSL failure running another product
Thanks and Regards,
Faziludeen

Similar Messages

  • How to use LDAP with Oracle forms 10g on Oracle application server

    Hi,
    I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
    Thanks
    Luksh

    I am not quite sure if this works out of the box. According to an Oracle FAQ:
    4.2 Can I use LDAP to authenticate Forms Services?
    Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms.

  • How to call Reports in oracle forms 10g

    Dear All,
    How to call Reports in oracle forms 10g.
    I am using Oracle Forms 10g Reports 10g and Database 10 and and Operating system Windows XP.
    Please give me the Solution.
    Thanks and Regards,
    Faziludeen

    Hi Omkar,
    Please check the following code.
    DECLARE
      repid REPORT_OBJECT;
      v_rep VARCHAR2(100);
      rep_status VARCHAR2(20);
      plid ParamList;
    BEGIN
      plid := Get_parameter_List('tmp');
      IF NOT Id_Null(plid) THEN
      Destroy_parameter_List( plid );
      END IF;
      plid := Create_parameter_List('tmp');
      add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
      Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
      repid := FIND_REPORT_OBJECT('POL_REP');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
      v_rep := RUN_REPORT_OBJECT(repid,plid);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
      LOOP
      rep_status := report_object_status(v_rep);
      END LOOP;
      WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
      '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
      '&paramform=no');
    END;
    I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
    OracleAS Report Services
    Version :-   10.1.2.0.2
    Name    :-   prod_report_server
    Status  :-   Server is Shutting down
    Jobs in Queue  0
    Active Engines  0
    I got the Following Error when I trying to run the Report
    FRM-41211: Integration error:SSL failure running another product
    Thanks and Regards,
    Faziludeen

  • How to enable tracing in Oracle Forms 10g

    Hi Friends,
    I am interested to trace my running oracle forms application. When I googled it, I got below useful information. But theory and practical has mismatch somewhere, I am not able to create the trace file(s).
    **************************** Some Notes ****************************************************
    How to Enable Tracing in Oracle Forms 10g
    Enable Tracing from the url by adding the following to your forms url:
    &record=forms&tracegroup=0-98,100-199 (note: item 99 causes some issues, so we are skipping it here. See the Oracle documenation for a description of what is being traced for each item.)
    for example
    [http://machine:port/forms/frmservlet?config=myConfig&record=forms&tracegroup=0-98,100-199]
    You will get a trace file in the following location:
    %ORACLE_HOME%\forms\trace\forms_xxx.trc where xxx is the forms session ID.
    Open dos window and do the following:
    set ORACLE_HOME=
    set PATH=%ORACLE_HOME%\jdk\bin;%PATH%
    set CLASSPATH=%ORACLE_HOME%\jdbc\lib\classes12.zip;%ORACLE_HOME%\forms\java\frmxlate.jar
    java oracle.forms.diagnostics.Xlate datafile=%ORACLE_HOME%\forms\trace\forms_xxx.trc outputfile=%ORACLE_HOME%\forms\trace\html_xxx.html outputclass=WriteOutHTML
    you will get a file html_xxx.html in your %ORACLE_HOME%\forms\trace directory.
    I need information beyond this to make this practically successful.
    Thanks in advance,
    Amol Naik

    Hello,
    <p>Did you read this paper ?</p>
    Francois

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • How to do this in oracle forms 10g

    hi all,
    any idea about how to format a drive using oracle forms 10g and shutting down the remote pc and a personal pc using oracle forms 10g.
    i am using windows XP2 as os.
    please replay..

    Hi Inol and Weiden,
    thanks for your help,
    i have cretaed a form xyz.fmx with a button , i wrote in when-button-pressed and also attached the default webutil.pll(which is in forms path) library in attached-library section
    Client_host('cmd c/ shutdown -i');
    but my problem is that when i run the form i am getting error that
    FRM-40039: Cannot attach library webutil.pl while opening form xyz.fmx.
    Cause: The given library is attached to the form but
    cannot be located in the search path for PL/SQL libraries.
    Action: Make sure that the given library can be found
    and that it has read permissions set.
    Level: 99
    Type: Error
    i think i have to configure the webutill.pll but i don't how to configure
    can you tell me how to configure the webutil.pll file..
    please reply..

  • How to use DDE package in form 10g module

    Hi All,
    I am using DDE.package in form 10g for uploading excels data in oracle database at windows platform but it is showing non-oracle exception.
    Thanks

    hi
    mehwish............just do for attachment.......
    u can also use something like this...
    Execute send_mail;and also.
    try something like this..
    example:
    begin
    mahi.mail('email address','subject','message','attachment');
    end;Edited by: Sarah on Apr 18, 2011 10:25 AM

  • Where to find and how to use JDAPI with oracle forms

    Hi All
    I want to use JDAPI for oracle forms, plz can any one suggest that where i can find the required jar for JDAPI, provide me if any links r there for downloading JDAPI.
    Thanks in Advance

    Hi Torsten Kleiber
    I am interested in changing forms buttons in our existing forms .I was trying to find if it was possible.Going thru your post I realised it is possible to change properties in existing forms .
    i have specific questions with JDAPI will i be able to change my buttons in a form to Iconic buttons.
    Could you kindly send me the code of your class in the abovementioned post (I have created a simple class to modify some forms properties.)
    I would like to have alook at it i am a Novice in java but looking at your source code may be able to give myself a head start .(I am well versed pl/sql forms and reports NO JAVA idea)
    Two while trying out the oracle demo to create a form by jdapi I was able to create a class and was unable to execute it .What do i need to install to execute it. I have forms 10 installtion with Jinitiator 1.3 installed
    DO i need to install Jdeveloper or JDK i think either of this is required. I shall be highly be obliged if u can clear my queries or any one else in the forum may wish to add to 2cents to my infinetly minimal knowledge of java

  • How to use Javascript in oracle forms

    Hello Experts,               I am new in Oracle forms using weblogic 10.3.5 with oracle forms 11g at windows 7.I have need to run a javascript code block inside my oracle form.Please suggest me that how can i do this.Actually I have need to validate my item field alike for email address for this I have to use Java script code. thank You regrads aaditya.

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • How to display image in oracle forms 10g

    hello good morning
    I need to display an image in forms 10g
    I can use READ_IMAGE_FILE ('imagen_name', 'URL', 'block.image_item');
    ok if I have my forms stored in a directory -----> */ FORMS / MYSAPP* here are all my fmx
    HERE ARE MY PICTURES ---> */ FORMS / MYSAPP / IMAGES*
    As I can put the URL to access an image that is in that directory
    slds

    Hi,
    You should have the webutil
    see this post
    http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm

  • Using graphics in oracle forms 10g

    i've read everything in this thread:
    http://download.oracle.com/docs/cd/B12166_01/web/B10469_01/repgrph.htm
    but i cannot run graphics.
    there is the next error:
    OG-01603: Unable to create Pl/SQL Development Environment context.
    do you know how to prevent this error?
    i did:
    *install oracle developer suite 6i on application server (different home)
    *configure linux application server to work with graphics 6i
    *compile og.pll
    *compile form
    best regards, Teodor

    you have to do the migration one time. Better now than in the future. One day a forms patch will say: Graphics is now obsolete, please migrate.
    To run a 6i graphics service on a 10g platform is (please believe me) the badest way to run your old graphics in the new world.
    its like toothache. you can eliminate them through eating 10 aspirins each day. But you know, that you have to go one day to the dentist...

  • How to used attached pll in form 10g

    I have install 10g form server & report server in redhat.and now I migrated my appl from win2k to redhat.
    I found a form which used attached plx, can't complited.
    Compiling WHEN-BUTTON-PRESSED trigger on ORG_UNIT_COST_BY_EMPLOYEE item in CONTROLS data block...
    No compilation errors.
    Compiling WHEN-BUTTON-PRESSED trigger on ORG_UNIT_MONTH_COST_BY_EMPLOYE item in CONTROLS data block...
    Compilation error on WHEN-BUTTON-PRESSED trigger on ORG_UNIT_MONTH_COST_BY_EMPLOYE item in CONTROLS data block:
    PL/SQL ERROR 201 at line 27, column 3
    identifier 'HR_SYS_F.CALL_DATE_SET' must be declared
    PL/SQL ERROR 0 at line 27, column 3
    Statement ignored
    Compiling WHEN-BUTTON-PRESSED trigger on ORG_JOB_ASSIGN_BY_UNIT item in CONTROLS data block...
    No compilation errors.
    Compiling WHEN-BUTTON-PRESSED trigger on ORG_JOB_MONTH_BY_UNIT item in CONTROLS data block...
    Compilation error on WHEN-BUTTON-PRESSED trigger on ORG_JOB_MONTH_BY_UNIT item in CONTROLS data block:
    PL/SQL ERROR 201 at line 11, column 3
    identifier 'HR_SYS_F.CALL_DATE_SET' must be declared
    PL/SQL ERROR 0 at line 11, column 3
    Statement ignored
    I complited attanched HR_SYS_F.pll to HR_SYS_F.plx at FORMS_PATH.
    I set FORMS_PATH in .bash_profile, frmcmp_batch.sh,default.env.But all no to work.
    It still error of : can't find the attached pll: HR_SYS_F.CALL_DATE_SET.
    but this form ,I can complited it normal in win.
    how can I skip this error?

    Have you double-checked the one Form to ensure the Library is still attached? Also, when the Library was attached - was it attached in such a way that it recorded the path to the library (typically, when you attach a library - Forms will ask if you want to record the path (Y/N))?
    Hope this helps.
    Craig...
    Edited by: CraigB on Apr 2, 2010 3:49 PM
    I forgot to add, sometimes, just simply deleting the attached library and re-attaching it will fix the issue.

  • How to use unicode fonts in Oracle forms 10g?

    Hi I am working in forms 10g for quite a long time, the software that I have developed so far are all in English language. Now I have requirements to use Bengali Fonts in Forms 10g. I am facing difficulties doing that. Please reply with help. Thanks
    Hasan Al Mamun

    Check this forum post (though that is for 6i, it would be of helpful for you)
    How to use unicode fonts in Oracle forms 10g?
    -Arun

  • How to use Java Script in Oracle Forms 10g

    Hello,
    Appreciate if anyone could help me using Java Script in Oracle Forms 10g?
    Thanks
    GM

    Thank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
    Example:
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
    I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
    Regards
    GM

  • How to Migrate Oracle Forms 10g 9.0.4 to 10.1.2

    Hi I would like to find information on what is necessary to do in order to migrate Forms 10g 9.0.4 to 10.1.2.
    Do I need to use Oracle Migration assistant ?
    Is it enough only compile forms ?
    Where I find documentation on how to execute this migration. I am only find documentatio to migrate from 6i to 10g, but I need documentation to migrate from Forms 10g 9.0.4 to 10.1.2.

    Hi,
    Thank you for the answer about Oracle forms.
    Now I would like ask another question but this time for Oracle Application Server. As we have Oracle forms 10g 9.0.4 we also use the Application Server with this same version.
    Do you have any recommendations on how to Migrate the Oracle Application Server from 10g 9.0.4 to 10.1.2 ?
    Thank you .

Maybe you are looking for