Icons in 10g form

I have 2 oracle applications that I am converting to Forms 10.1.2.0.2. These 2 applications share some icons that are .gif files. In one application the icons appear the correct size, but in the other application the icons appear smaller and run off to the left of the buttons. Any help would be greatly appreciated.
Thanks!!
Shellie

Hi,
Is your problem solved?
This issue occurs because gif images by default are not still images. These are graphical interchange images, i.e. images depicting some kind of action/motion.
If I am not wrong then just to test this out if you open the gif image you are looking at, in pbrush then image will appear in a corner. Now if you modify that image such that you copy only the icon in the corner and then save the copied icon in a new file in gif format then you will be able to see that image in the centre of button, rather over complete button.
Hope this helps!
Av.

Similar Messages

  • Icons in 10g forms

    Hi Everybody..
    I want display iconic buttons in forms 10g.... I've searched this forum and read webicons.pdf as well. I followed the speciifed steps, but it doesn't work
    I followed following steps.
    1. created jar file for my .jpg files
    2. added jar file to orahome\forms\java
    3. added the jar file name to formsweb.cfg
    4. changed imagebase=codebase
    5. jar file loaded successfully as shown in java console....
    But Icon not displayed on button
    Anybody plz help
    Regards

    Hi,
    The default format for icons is gif. You will need to change your [orahome]\forms\java\oracle\forms\Registry.dat
    default.icons.iconpath=
    default.icons.iconextension=jpgThis will change the default format. If you want to change it for a specific Named Configuration within your formsweb.cfg then create a [serverApp].dat file in the same directory and replace "default" with [serverApp]. Use iconpath if you have any internal directory structure within your jar file eg /icons.

  • Iconic file in oracle 10g forms

    hii,,
    i am a new user in oracle 10g form,,,here i am running a form & placing all the icons in a folder,after that i changed the iconic file path in the default.env file,the path is same where the icons are kept,,but still i am unable to see the icons at the run time,,,,,
    do i need to modify some other file or the icons will be kept at some particaular place????
    plzzzz help.....

    hi
    1 How to Display Iconic Images Using Forms 9.0.x/ 10.x?
    When running an Oracle Forms 9i/10g application the icon files used must be in a web enabled
    format such as JPG or GIF (GIF is the default format) (This is unlike older versions of forms running in client-server mode when the file format is .ico.)
    Icon image files can either be retrieved by Forms as individual files on the filesystem or from a Java Archive (JAR file).
    If an application uses lots of icon images it is recommended that they are stored in a JAR file to reduce the number of HTTP round trips.
    Reference:Note 232413.1 How to Deploy Iconic Images via a JAR File in Forms 9i/10g?
    The example below details steps to configure iconic images as individual gif or jpeg files.
    It is a first approach recommended for initial testing and understanding.
    Example:
    ========
    This document has been written for use with both Windows and UNIX operating systems: Windows will use the "\" character to delimit directories and UNIX uses the "/" character. Any other differences are noted in the document.
    1) Determine the physical location of the icons on your web server. For this example, assume that the icons are stored in D:\Myfiles\icons.
    2) Create the virtual directory in the forms90.conf file that point to the location of your Forms 9i/10g icons. This file is located in:
    $ORACLE_HOME\forms90\server\forms90.conf
    To define a virtual directory forms90/icons, use the following syntax:
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    Below is an example of the forms90.conf after it has been modified to include the /forms90/icons virtual directory.
    # Virtual path mapping for Forms Java jar and class files (codebase) AliasMatch ^/forms90/java/(..*) "E:\IASR2\APP/forms90/java/$1" # Virtual path for JInitiator downloadable executable and download page AliasMatch ^/forms90/jinitiator/(..*) "E:\IASR2\APP/jinit/$1" # Virtual path for runform.htm (used to run a form for testing purposes) AliasMatch ^/forms90/html/(..*) "E:\IASR2\APP/tools/web90/html/$1"
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    ( For 10g use instead of "forms90" -> "forms")
    3) Direct forms to use the /forms90/icons or /forms/icons virtual directory when running on the web by modifying the Registry.dat file in the $ORACLE_HOME\forms90\java\oracle\forms\registry or $ORACLE_HOME\forms\java\oracle\forms\registry
    directory. Note that for UNIX, both the path name and file name are case sensitive. You must specify "Registry.dat".
    Modify the default.icons.iconpath entry as follows: default.icons.iconpath=http:///forms90/icons/ or default.icons.iconpath=http:///forms/icons/
    If the URL used to bring up forms on the web is: http://abc.oracle.com:7778/forms90/f90servlet or http://abc.oracle.com:7778/forms/frmservlet
    Then the entry required for the Registry.dat will be: default.icons.iconpath=http://abc.oracle.com:7778/forms90/icons or default.icons.iconpath=http://abc.oracle.com:7778/forms/icons default.icons.iconextension=gif
    4) Now use EM Website to: a) Restart the OC4J-BI-Forms Instance b) Restart the BI-FORMS HTTP Server Instance.
    5) Verify that the virtual directory has been defined properly and that the icons can be viewed in a browser.
    Assuming that exeqry.gif exists in the D:\Myfiles\icons directory, the following URL should show the icon:
    http://abc.oracle.com:7778/forms90/icons/exeqry.gif or http://abc.oracle.com:7778/forms/icons/exeqry.gif
    6) Check the form : http://abc.oracle.com:7778/forms90/f90servlet?form=D:\Testcases\F90\ICON_CHECK_IASR2.fmx or http://abc.oracle.com:7778/forms/frmservlet?form=D:\Testcases\F10g\ICON_CHECK_IASR2.fmx
    CHECKLISTS
    =============
    Icons do not appear in the browser using the URL:
    o Verify that you are using the correct machine name and port for the OC4J_BI_Forms object.
    o Check the virtual directory name to make sure that there are no typographical errors. o Check for typographical errors in the forms90.conf or forms.
    conf for the virtual directory. o Check the name of the icon on the file system. If the file is saved as Exeqry.gif, then it will not be found using the URL http://abc.oracle.com:7778/forms90/ Close all your browser sessions and open a new browser window.
    Execute the URL to bring up from the Form Builder runtime or from the browser.
    ( For 10G use "forms" instead of "forms90")USEFUL REFERENCES:==================
    [PDF] Oracle9iAS Forms Services Deployment Guide (P/N B10170-01)Configuring Oracle9iAS Forms Services ->
    Deploying Icons and Images Used by Oracle9iAS Forms Services http://otn.oracle.com/products/forms/pdf/B10170_01.pdf
    [PDF] Oracle9iForms Services - How to Deploy Iconshttp://otn.oracle.com/products/forms/pdf/webicons.pdf
    sarah

  • Icon problem in forms 10g

    hii
    I have oracle 10g forms installed on my pc, I want to display some icons on the button.i have done all of the required things like:I have kept all the gif icons in the particular place,& have changed the formsweb.cfg file by changing imagebase parameter to codebase,& I have changed the same path in the registry.dat file,as well as I have set the iconic property too,,,
    Now the main problem is that I am unable to see all these icons at the run time,at the design time icons are viewable,,wat changes should I do now???
    Plz help
    mohan kumar........

    hi,
    below is my complete registry.dat text.---------
    # This is the Registry file.
    # This file contains the logical [Java] Class name and an associated
    # [numerical] identifier that will be used to refer to objects of the
    # class in order to reduce the amount of information that needs to be
    # repeatedly transmitted to the client.
    # This file is of the Form understood by java.util.Properties (for now)
    # The System Level sound file is relative to the CODEBASE
    oracle.classById.1=oracle.forms.engine.Runform
    oracle.classById.4=oracle.forms.handler.FormWindow
    oracle.classById.5=oracle.forms.handler.AlertDialog
    oracle.classById.6=oracle.forms.handler.DisplayList
    oracle.classById.7=oracle.forms.handler.LogonDialog
    oracle.classById.8=oracle.forms.handler.DisplayErrorDialog
    oracle.classById.9=oracle.forms.handler.ListValuesDialog
    oracle.classById.10=oracle.forms.handler.EditorDialog
    oracle.classById.11=oracle.forms.handler.HelpDialog
    oracle.classById.12=oracle.forms.handler.FormStatusBar
    oracle.classById.13=oracle.forms.handler.MenuInfo
    # oracle.classById.14=UNUSED
    oracle.classById.15=oracle.forms.handler.ApplicationTimer
    oracle.classById.16=oracle.forms.handler.MenuParametersDialog
    oracle.classById.17=oracle.forms.handler.PromptListItem
    oracle.classById.18=oracle.forms.handler.CancelQueryDialog
    oracle.classById.257=oracle.forms.handler.TextFieldItem
    oracle.classById.258=oracle.forms.handler.TextAreaItem
    oracle.classById.259=oracle.forms.handler.FormCanvas
    oracle.classById.261=oracle.forms.handler.ButtonItem
    oracle.classById.262=oracle.forms.handler.CheckboxItem
    oracle.classById.263=oracle.forms.handler.PopListItem
    oracle.classById.264=oracle.forms.handler.TListItem
    oracle.classById.265=oracle.forms.handler.CfmVBX
    oracle.classById.266=oracle.forms.handler.CfmOLE
    oracle.classById.267=oracle.forms.handler.RadioButtonItem
    oracle.classById.268=oracle.forms.handler.ImageItem
    oracle.classById.269=oracle.forms.handler.IconicButtonItem
    oracle.classById.270=oracle.forms.handler.BlockScroller
    oracle.classById.271=oracle.forms.handler.JavaContainer
    oracle.classById.272=oracle.forms.handler.TabControl
    oracle.classById.273=oracle.forms.handler.ComboBoxItem
    oracle.classById.274=oracle.forms.handler.TreeItem
    oracle.classById.281=oracle.forms.handler.PopupHelpItem
    # Defaults for the Font details, all names are Java Font names. Each of
    # these parameters represents the default property to use when none is
    # specified.
    # defaultFontname represents the default Java fontName.
    # defaultSize represents the default fontSize. Note that the size is
    # multiplied by 100 (e.g. a 10pt font has a size of 1000).
    # defaultStyle represents the default fontStyle, PLAIN or ITALIC.
    # defaultWeight represents the default fontWeight, PLAIN or BOLD.
    default.fontMap.defaultFontname=Dialog
    default.fontMap.defaultSize=900
    default.fontMap.defaultStyle=PLAIN
    default.fontMap.defaultWeight=PLAIN
    # Default Font Face mapping.
    # appFontname represents a comma delimited list of Application Font Names.
    # javaFontname represents a comma delimited list of Java Font Names.
    # The number of entries in the appFontname list should match the number in
    # the javaFontname list. The elements of the list are comma separated and
    # all characters are taken literally, leading and trailing spaces are
    # stripped from Face names.
    # Note that this file uses the Java 1.1 Font names in order to be able to
    # handle the NLS Plane (BUG #431051)
    default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial
    default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif
    # The Application Level icon files are relative to the DOCUMENTBASE
    # example: icons/
    # or an absolute URL.
    # example: http://www.forms.net/~luser/d2k_project/
    default.icons.iconpath=oracle\forms\icn
    default.icons.iconextension=gif
    # Application level settings to control UI features
    app.ui.lovButtons=false
    app.ui.requiredFieldVA=false
    # The background color is specified as an RGB triple.
    app.ui.requiredFieldVABGColor=255,0,0

  • How to create iconic buttons in forms 10g.

    I am trying to create a iconic buttons, same I am able to do it in forms 6i but not in 10g. And also please give me a proper example of java bean items in forms 10g

    dear sunny
    are u able to do the iconic button on 10g forms i try but appear the icon on button I have alreay do the following
    Runtime Configuration
    1) Creating Jar file
    i) Once you are ready with your GIF files or JPG files, create a folder called ICONS. You can create this folder anywhere. For e.g. you can create ICONS folder on a C drive under root directory or as a sub-folder under any folder.
    ii) Assuming you have created ICONS folder as a root folder on C drive, now copy all your GIF files in this folder.
    iii) Go to the DOS prompt and enter cd\
    iv) At C:\ prompt enter the following command to create Java Archive File (JAR) called my_icons
    Jar ?cvf my_icons.jar icons
    (Note: If above command don't run then paste icons foled at C:\DevSuiteHome_1\jdk\bin.)
    v) Copy this file in <Forms10g_Home>\Forms\Java folder.
    Please remember that having the name of the folder holding GIF/JPG files as ICONS is very important. Because if the folder name is something else, icons will not be displayed in your form at run time.
    2) Modify REGISTRY.DAT file
    i) Open this file located in <Forms10g_Home>\forms\java\oracle\forms\registry folder.
    ii) Append the existing parameter default.icons.iconpath as follows:
    default.icons.iconpath=icons/
    iii) If you are going to use GIF files as image files for icons, then leave the existing parameter default.icons.iconextension=gif as it is. If you want to use JPG files instead of GIF files, replace GIF with JPG as shown below:
    default.icons.iconextension=jpg
    3) Modify FORMSWEB.CFG file
    This file exists under <Forms10g_Home>\Forms\Server folder.
    Append the following existing parameters:
    i) imagebase=codebase
    ii) archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob .jar,my_icons.jar
    After doing above configurations, create a form and place an icon on the button. Set button's icon property = Yes and give name of icon.
    NOTE: This icon shoul be in jar file. If u want to add more icons in jar file then u will have to create JAR file again. Also again place it in <Forms10g_Home>\Forms\Java folder.
    pls if u have any solution send me

  • Error in applying gif icon on a button in 10g forms

    Dear users...I wanna apply a gif image on a push button named "Pb_Ext" in my form but I'm being failed in this simple task :( For this purpose I've taken the following steps.
    1: I made Iconic property to "Yes" and in icon filename property I gave the gif file name, in my case that is "bdone", which I got from 10g forms directory. (Is it necessary to write file extension with file name? Although I've tried both ways.)
    2: I set up icons path value in registry.dat file as: default.icons.iconpath=H:\10g_Tst\03\03
    default.icons.iconextension=gif
    3: In formsweb.cfg file registry.dat file is defined as:
    serverApp=default
    So is there anything else remaining to be set up? Can u guess that where is the fault?

    One of this may help
    Re: icons not displaying in oracle forms.
    Re: Icon deploy issue in 10g forms
    Re: cannot show icon images
    Re: Step by step creation of iconic buttons

  • Displaying Icons in 10g runtime (On Linux RHEL 5)

    Hi, I've read several threads on here about displaying Icons in 10g runtime.
    Currently, I am able to get the Icons to work on my localhost Windows machine and the icons display fine.
    However, my icons are not displaying when I copy them over to the Linux machine. My forms compile correctly. I've made sure they were case-sensitive.
    I modified the Registry.dat file to point to the path where I so tried the icons (in my case, /home/OraHome_1/yb/ico, where I've put all my icons in a file called icons.jar).
    I also modified the default.env file to point the CLASSPATH to this directory as well.
    Am I missing something on Linux, because this works on Windows.
    Thanks,
    Chris

    I do not remember making changes to the CLASSPATH, either way it would be good that you double check your steps against the metalink note 232413.1 - How to Deploy Iconic Images via a JAR File in Forms 9i/10g.
    As a reference, you can also take a look at this thread icons not displaying in oracle forms.

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • Calling a web service from Oracle 10g forms

    Hi Everybody
    I want to send SMS from my 10g forms.... I searched for the topic and I got the following link
    "http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html"
    Now I have downloaded "wsclient_extended_101320.zip"
    1. extracted the jar file,
    2. copied the jar file in "c:\ids10\WSclient"
    3. Specified jar file name in "default.env" "formsweb.cfg"
    4. Also specified the jar file name in "CLASSPATH" environment variable
    5. restarted OC4J instance
    6. Restarted Fotm Builder
    But I couldn't see the "webServiceProxy.proxy.SendServiceSoapClient" in Form Builder "JAVA CLASS iMPORTER"
    Can anyone plz help.....
    Wat may be the problem??
    Do I hav to follow the steps to create service as specified in demo page....or is it sufficient to download the jar file ??
    Or is there any other setting that I m missing???
    Thanx in advance....

    I created a new folder "WSclient" in "c:\ids10\forms"
    and added full path name in CLASSPATH......

  • Ctrl+Z fuctianlity is not working in oracle 10g Form

    Hi
    I am using oracle 10g form and using
    Edit_TextItem to invoke Text Editor
    When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
    Please help me to solve this issue. i need to this functinality to be work.
    BR,
    SPS

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Can not configure Oracle 10g form  on oracle 11g client

    Hi
    I need to install oracle 10g form in my system .
    Here is my system
    1. OS --XP
    2. 32 Bit
    4. Already oracle 11g release client installed ( I think that create the problem )
    I tried to install oracle 10g form , it installed but can cont configure net manager for it , Always it point to 11g client and hence I could not configure .
    Also I tried install Oracle Forms first then 11g client , But  I got same issue .
    I think if  I created multiplr home one for 11g client and other for forms , it may work out .
    Please  help me
    Debashis

    While deploying the example 'VacationRequest' in the oracle complete guide for 11g, i got an exception like this
    "12:08:15 PM] Deploying Application...
    [12:11:16 PM] [Deployer:149191]Operation 'deploy' on application 'VacationRequestTaskFlow' is initializing on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [12:11:24 PM] [Deployer:149193]Operation 'deploy' on application 'VacationRequestTaskFlow' has failed on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: Failed to load webapp: 'VacationRequestTaskFlow.war'.
    [12:11:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [12:11:24 PM] See server logs or server console for more details.
    [12:11:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] #### Deployment incomplete. ####
    [12:11:24 PM] Deployment Failed"
    Can anyone help in this.

  • Load balancing 10g forms - Connection from new browser window not supported

    Load balancing 10g forms - Connection from new browser window not supported
    We're experimenting with using webcache to load balance between multiple applications servers running OC4J forms processes.
    We currently have one machine with infrastructure and mid-tier (BI & Forms) installed, which is being used for the webcache functionality, this is load balancing between 2 other servers each of which just have the mid-tier (BI & Forms) installation
    In order to get this to work, I had to follow the instructions in the Forms deployment guide : http://download-uk.oracle.com/docs/cd/B14099_11/web.1012/b14032/tuning.htm#sthref707
    The main gist of this is that you need to set the following in the orion-web.xml file in order that the sessions are maintained:
    <session-tracking
    cookies="enabled">
    </session-tracking>
    This all works fine in most cases.
    The problem I am having is if I do one of the following on the client machine:
    1) From IE6 / IE7 run a copy of a forms application. Then open a new window using the "New Window" menu option, and attempt to run another forms application.
    2) In IE7 or Firefox 2.0 open a copy of the forms application, and then open a new tab and try and open another forms application.
    If I try either of these I get a FRM-92101 error, and the following is displayed in the java console:
    oracle.forms.net.ConnectionException: Connection from new browser window not supported
    From trawling various forums (including metalink and otn) it looks like a problem with the way coockies are handled.
    Unfortunately the usual workaround is to ensure that the session tracking option in the orion-web.xml file is disabled.
    The problem is that I need this enabled in order for the load balancing to work.
    Does anyone know of any other workarounds or patches that might help resolve this?
    We're using Application server 10.1.2.0.2 running on windows 2003 servers.

    You were right. Carriage returns were stopping it from working (the document is laid out over separate lines, so I assumed it would make no difference...).
    I've now managed to get it so the forms at least run, but they are all being run in the forms OC4J instance on the same machine as the OHS.
    Has anyone actually managed to get this to work, or am I doing something wrong?
    I did wonder if using an OHS instance on a machine with no forms installation would make any difference?
    I had raised a support call via metalink on this subject, but they eventually came to the conclusion that the only way to do this is with a hardware load balancer (Despite several documents suggesting that webcache is the way to go (including the forms deployment manual)).
    I'm at the point now of giving up and writing some custom scripts to do the job instead...

  • 10G-form: How to do MULTIPLE WORD OR SINGLE WORD SEARCH at ITEM?

    I am using 10G DB + 10G Form Builder.
    I've 'database_item' where I am storing multiline text data.
    I want to do MULTIPLE WORD OR SINGLE WORD SEARCH at this item through FORM.
    I've tried by creating the following NON Database Items on the form:
    - multiline_search_text_item, and
    - multiline_result__text_item
    And then writing execute_query in KEY-NEXT-ITEM trigger.
    I've also tried using this in the POST-TEXT-ITEM at multiline_search_text_item:
    select table.database_item into :multiline_result__text_item from table where multiline_search_text_item = :multiline_search_text_item;
    Pl help me asap.
    Gaurav

    What you want to do is not clear.
    The query you wrote will select records where the table contains exactly what has been written in the search item. You can use LIKE and a wildcard search to find records which contain the search text:
    select table.database_item into :multiline_result__text_item
    from table
    where multiline_search_text_item LIKE '%'||:multiline_search_text_item||'%';
    You can use UPPER to make this case insensitive:
    select table.database_item into :multiline_result__text_item
    from table
    where Upper(multiline_search_text_item) LIKE Upper('%'||:multiline_search_text_item||'%');
    But I suspect you want either to match the individual words in the search text to individual words in the database multiline field, or find records where the search words appear (not necessarily as whole words). In that case, check out the following:
    -- set up a table (multiline and various whitespaces)
    DROP TABLE t;
    CREATE TABLE t AS
    SELECT
      ROWNUM rn,
      owner||Chr(9)||object_name||Chr(160)||subobject_name||'    '||object_id||' '||
      data_object_id||Chr(10)||object_type||' '||created||' '||last_ddl_time||' '||
      timestamp||' '||status||' '||temporary||' '||generated||' '||secondary AS col
    FROM all_objects;
    -- check the format of the multiline text item (col)
    SELECT * FROM t WHERE ROWNUM < 4;
    -- a type for the function below
    CREATE TYPE string_tab AS TABLE OF VARCHAR2(255);
    -- this function takes a string and cuts out each word, idetifying words
    -- as being separated by any whitespace.  it returns a collection
    CREATE OR REPLACE FUNCTION string_to_tab(
      p_string IN VARCHAR2) RETURN string_tab IS
      l_string LONG DEFAULT
        RTrim(regexp_replace(p_string,'[[:space:]]+',' ')) || ' ';
      l_data string_tab := string_tab();
      n NUMBER;
    BEGIN
      LOOP
        EXIT WHEN l_string IS NULL;
        n := InStr(l_string, ' ');
        l_data.extend;
        l_data(l_data.Count) := LTrim(RTrim(SubStr(l_string, 1, n - 1)));
        l_string := SubStr(l_string, n + 1);
      END LOOP;
      RETURN l_data;
    END string_to_tab;
    -- selecting from t where ANY of the words in the search text has
    -- a match in the multiline field (as a word or part of a word), so SYS
    -- matches to MDSYS and SYSTEM
    SELECT DISTINCT
      t.rn, t.col
    FROM
      t,
      (SELECT column_value
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE InStr(t.col,x.column_value) > 0;
    -- selecting from t where ALL of the words in the search text has
    -- a match in the multiline field (as a word or part of a word), so SYS
    -- matches to MDSYS and SYSTEM
    SELECT rn, col FROM(
    SELECT
      t.rn, t.col, cnt_x, Count(*) cnt
    FROM
      t,
      (SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE InStr(t.col,x.column_value) > 0
    GROUP BY t.rn, t.col, cnt_x
    WHERE cnt = cnt_x;
    -- selecting from t where ANY of the words in the search text
    -- match a word in the multiline field, so SYS matches only to SYS
    SELECT DISTINCT
      t.rn, t.col
    FROM
      t,
      (TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
      (SELECT column_value
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE t2.column_value = x.column_value;
    -- selecting from t where ALL of the words in the search text
    -- match a word in the multiline field, so SYS matches only to SYS
    SELECT rn, col FROM(
    SELECT
      t.rn, t.col, cnt_x, Count(*) cnt
    FROM
      t,
      (TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
      (SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE t2.column_value = x.column_value
    GROUP BY t.rn, t.col, cnt_x
    WHERE cnt = cnt_x;For your application you would replace 'SYS INDEX' with a variable (the search field). You can use upper() and wildcards for case insensitive & 'fuzzy' searches. You might need to modify the function so it removes other delimiters such as commas and colons.

  • Do I need to convert 6i form to 10g form

    Hi all,
    I am currently working on a custom form (version 6i). we have a similar standard form in our project where they applied a patch to that standard form in order to convert it to 10g form and so some additional lines has been added to that standard form code in order to sort the data. So I have to make similar changes to the custom forms but i was wondering since the custom form is a 6i form do i need to convert it to 10g form before making any changes to that form and compile it in form builder.
    Can anybody please help me with this.
    Thanks.

    It sounds to me like you are doing this in the context of Oracle Applications? If that is so you should post your question in this forum: OA Framework

  • How to change 10g forms url ?

    Hello,
    I developed forms in 10g forms developer and I can call my forms from web browser with default url like http://server:port/forms/frmservlet?config=myform.
    Is there anyway the change that url like http://myform.com or something?
    Thank you for your replies :)

    Well, the first thing to understand is that when you call the Forms Servlet (frmservlet) you are calling a java application and not static content like an html page. So, changing the URL isn't exactly as easy as it would be for a simple web page. On the other hand, hiding the the real URL or redirecting to the proper url can be done fairly easily.
    All of these assume you are using Application Server.
    OPTION 1 - Hide The URL +(more information can be found in MyOracleSupport note 300326.1)+
    <blockquote>There are several ways in which you can hide the real url, but probably the easiest will be to use an IFRAME. The only potential problem with this is that some security software or browser security settings may prevent this from working. So, here's what you do:
    1. Using an HTML or text editor, create a static html file with the following code. Replace my Forms url with your own.
    <HTML>
    <HEAD>
    <TITLE>My Application</TITLE>
    </HEAD>
    <FRAMESET  ROWS="100%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
    <FRAME SRC="http://someServer:port/forms/frmervlet?config=myconfg" NAME="redir_frame">
    </FRAMESET>
    <NOFRAMES>
    Sorry, your browser does not support frames.  Click <A HREF="http://someServer:port/forms/frmervlet?config=myconfg" TARGET=_top>here</A>
    </NOFRAMES>
    <BODY>
        <!-- ADD ANY EXTRA HTML CODE AS NEEDED -->
    </BODY>
    </HTML>2. In the Oracle home from where OHS is running, find the htdocs directory within the OHS (apache) directories.
    3. Rename "index.html", "index.html_original"
    4. Copy your html file to this directory and name it "index.html"
    It is possible that the html file being used is not "index.html". To determine the correct page, you may need to review your httpd.conf file as this is where the default page is set. Look for DirectoryIndex</blockquote>
    OPTION 2 - Redirect To The Proper URL
    <blockquote>1. Find and open httpd.conf
    2. Within the file, locate this: <Directory />
    3. Just below this line add the following. Use your own Forms url
    RedirectMatch ^/$ /forms/frmservlet?config=somewhere</blockquote>

Maybe you are looking for

  • Error while doing F-90 Asset Acquisation

    Hi, I am getting the below error while doing F-90 Asset Acquisation scenario. Please help me to fix this issue. Tax code V1 country IN does not exist in procedure TAXINN Message no. FF713 Diagnosis You entered a tax code which is not defined for the

  • Macbook pro retina external monitor mouse skipping, lag problem

    When I plug my macbook pro retina (Lion) into a 24" monitor through the DVI adaptor, the cursor jumps erratically every ~10 seconds when being moved. Feels like a lag and is worse with more programs running. Does not depend on mouse or mouse surface.

  • Purpose of JEST-INACT Field

    Hi JEST table is for Individual Object Status where INACt field gives the status. I would like to know: 1. When an entry gets posted in JEST? 2. There are multiple entries for the same Object number in JEST. So, based on what criteria, I can find the

  • TOC is Sometimes NOT Displayed

    I'm working with RH 5/WebHelp & occassionally the TOC is not displayed. If the output (compiled Help project) is closed & re-opened, the TOC does appear. Does anyone know why this happens?

  • Production order settlement status table

    Hi All,        How shoud i know the production order is settled or not ? Some status i given here SETC Settlement rule created VCAL Variances calculated, REL released,CNF conformed ,in a month  10 order created some are conformed some are relesed son