Search wildcard in Oracle forms

Hi ,
I want to search in Oracle forms to values containing the % charachter.
when using F11 and the % character Oracle returns all values, while I only want the query to returns the values containing the % character
How can I do this. In SQL you can do this using escape characters but in Oracle forms this doesn't seem to work?
Regards,
Jan

Hi;
Please check below notes which could be helpful for your issue:
How Is The WildCard (%) Used When Searching For A Customer In Oracle Customers Online (OCO) ? [ID 358724.1]
Simple Search For Change Doesn't Work With '%' Wildcard Character [ID 948916.1]
'Customer Smart Search' wildcards '%' And '%%' [ID 870178.1]
How to Search Supplier Using % Wildcard in Requisitions Search page in Release 12? [ID 961374.1]
How To Enable Use Of The Wildcard (% Or *) In Catalog Search? [ID 462017.1]
Regard
Helios

Similar Messages

  • Regarding date ranges in search criteria in oracle forms

    I am using employee number,name, person type, and date ranges as search criteria in custom form.
    when I enter employee number, hit the find button, I am getting the exact info in the result block.
    Result block contains
    employee name,personid,emp numb,org,start_date.
    Similarly when I enter employee number,dept, I am getting correct values.
    My question here is, when I enter date range. Iam unable to filter data.
    When i enter START_DATE between nvl(:BLOCKNAME.START_DATE,'01-JAN-1901') and nvl(:BLOCKNAME.END_DATE,'31-DEC-4712') at where clause in the result block. I got data for the date range also.
    if I give condition in the where clause, results are taking so much time when i search with employee name,number,dept,person type.
    If i query with date, persormance is good.
    Do u any know,how to prevent START_DATE between nvl(:BLOCKNAME.START_DATE,'01-JAN-1901') and nvl(:BLOCKNAME.END_DATE,'31-DEC-4712') when we search with employee name,number,dept,person type.

    Initailly Ididnt given any code in the where clause of the result block. I got data in the result block when i search with employee name,number,person type,dept etc except date range.
    If i give date range, irrespective of the date, getting all the data.
    after that i added code to the where clause of the result block. Now i am getting data for everything.
    like, when i query with employee name,number,even date range also.
    My question here, performance.
    when I query with date range, data is coming in expected time in the result block.
    when i query with dept, taking much time since date range logic exist in the where clause of the result block.
    I need to restrict the where clause only to the data ranges. Where clause should not necessary for employee number,name,person type dept search criteria
    Tahnks for your reply

  • Search and update oracle forms 10g

    hi
    i hav a table in database with name TBH.in that table there are 25 to 30 columns.its a material details table.
    by using add material form i insert all the details of the material in the table.2 colums have primary key(material id and material code).
    now iam making search and update form.on material code item i have WHEN-MOUSE-CLICK-TRIGGER and calling LOV and displaying
    record.
    but the problem is when iam making changes in some fields its giving error ...UNABLE TO INSERT....
    when i check display error its showing
    ORA-00001: unique constraint (DETA.SYS_C006356) violated..
    please help...
    FRM-40508:ORACLE error:unable to insert record.
    Edited by: 911229 on Mar 10, 2012 11:00 PM

    now iam making search and update form.on material code item i have WHEN-MOUSE-CLICK-TRIGGER and calling LOV and displaying record. Please show us your code! It sounds like you are adding the found record to your block manually rather than letting Forms query the record. Consquently, Forms will recognize this as a new record instead of an existing record and will attempt an INSERT rather than an UPDATE. Again, please show us your code so we can better help you.
    Craig...

  • Search Button in Oracle forms

    hi, i want to use a search button which search employees data when employee_id was given. I don't know PLSql code written in "when button pressed" trigger.
    any help?

    go_block('employee_table');
    execute_query;
    create an item on the form where user will enter the employee_id,
    on the same form on another block show your employee_data to be shown on the screeen
    you will now set where clause on the block of employee_table as where employee_id=:employee_id1

  • How to show a long with database datablock in a small width frame using horizontal scrollbar in oracle forms

    Hello Experts,
                  I am new in oracle forms and  I am  using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
    My java version is jdk1.7.0_51.
    I have a database table say as ITEM_MASTER.This table has 20 columns.Now I have to show these 20 columns in oracle form in a single frame.I have used the wizard method to make database block in oracle forms but This datablock takes too much width.
    I wand to show all the columns with in a short width frame in oracle forms using horizontal scroll bar.But I am unable to do this.Please suggest me.
    thank you
    regards
    aaditya.

    This can be accomplished using a Stacked Canvas.  There are numerous examples of how to use a stacked canvase on the web.  For example:  https://www.google.com/search?q=oracle+forms+how+to+use+a+stacked+canvas
    Craig...

  • How to create dynamic 'rack drawings' with Oracle forms

    Hallo, I work for a telecom company.
    We have used Oracle Forms and Reports from the beginning and we are now on version 10.2 but upgrading til 11.2.
    I got a request to make  'dynamic rack drawings' to display what equipment are located in what racks.
    The suggestion is to calculate coordinates(position, height) and send it to our GIS-system to do the dynamic drawing bit.
    The 'drawing' is just simple boxes with various height with a name in it to mark different types of equipment.
    So my question is... How should we draw these boxes dynamically to display our racks including the equipment installed there?
    Something like this With a header and a footer.
    1          XXXXXX-12                         1
    2                                                  2
    3         yyyyyy-32                          3
    4                                                  4
    5           zzzz-11                           5
    6                                                  6
    40                                               40

    I wouldn't do the drawing part in Forms. Luckily there are Java Beans available in Webforms which you could use to visualize your data in a more complex way.
    For more informations on Java Beans and how they are used in Forms google gives you a good impression
    https://www.google.at/search?q=oracle+forms+java+bean
    or if you are stuck don't hesitate to ask
    cheers

  • Search option using a new small window in oracle forms using pl/sql

    Hai Friend,
    Iam Navya Jeevan,regarding Oracle Forms and Reports Doubts.
    Our project is developed using Forms and Reports
    In Forms for triggers we are using Pl/SQl language.
    DOUBT
    IN a form we require an option like search button when we press the search button a small window must be opened.This window should contain details from database(ie an entire column of database,must be displayed in the window ) and the user selects the value from the window.
    If u got any sample code related to this subject please mail to me.
    ....................................VERY URGENT............................................................................
    thankyou,

    Hello,
    The LOV is made for this.
    Francois

  • Search in Oracle forms

    Dear professionals,
    how to search in oracle forms by using toolbar: (press enter query key + press execute key) using next criteria:
    1. value in date item is less then some value (ex. date_item <01.02.2011) picture
    2. how to search NULL values in date items, and non date items (IS NULL doesn't work)
    it's not problem to define dynamically such criteria: set_block_property('block_name',default_where,'date_item IS NULL') OR set_block_property('block_name',default_where,'date_item <'01.02.2011'').
    is there any useful link for oracle forms search tips ?
    Thx in advance,
    Adnan
    Edited by: adnanBIH on Feb 8, 2011 11:18 AM

    Zaafran Ahmed wrote:
    You can use substitution variables like I mentioned in my previous post. In Enter-Query mode, enter :V and then execute query, it will popup a Query/Where dialog and in that you can type your condition like
    YourDateItem BETWEEN ADD_MONTHS(SYSDATE, -1) AND SYSDATE
    -- or
    YourDateItem < SYSDATEIf you are using Forms10g, then see the above link from Francois. It suggests you to enable this feature by setting FORMS_RESTRICT_ENTER_QUERY=FALSE in DEFAULT.ENV file.
    Hope it helps!
    Edited by: Zaafran Ahmed on Feb 8, 2011 9:09 AM
    maybe this could help.
    http://stackoverflow.com/questions/451047/query-where-dialog-in-oracle-forms-10g
    FrancoisThx a lot guys, it works now. I changed default.env file, and it's possible to search by complex criteria.
    But, it's still more complex for common user to learn sql in order to custom search then right click in MS Access and choose Filter by selection, for example...

  • Oracle Forms Designer has encountered a problem and needs to close

    Dear All,
    I got the following error when I compile the form,
    Oracle Forms Designer has encountered a problem and needs to close
    I am using Oracle 10g Developer suite(Forms 32 Bit Version 10.1.2.0.2)
    and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    and Window Xp Professional 32 Bit Operating system
    Now I can't do any changes in the form.
    I searched lot of oracle forums .but i can't solve it.
    Please give me one solution
    I am strugling this issue.
    Please help me........
    a lot of thanks in advance.
    Thanks and Regards,
    Fazil

    Hi,
    I am doing the bug fixing in the existing form.Its size is 4.07 MB.when i will get the mentioned error.then i will take previos fmb.then again doing the changes after some time agin will come the mention error.I added some if else condtion code.Its a small code.I think its not a reason for the mentioned error.I think something is happended.I don't know what happened?
    Please help me..
    Thanks and Regards,
    Fazil

  • Do anyone knows where can I download oracle forms 6.0?

    hi all,
    Do anyone knows where can I download oracle forms 6.0?
    This is quite urgent.
    Please help.
    amy

    Hi all,
    I know this is no longer supported forms 6.0, however, I have an application which is running on forms 6.0 for solaris. Unfortunely, I lost the CD and I have to make some changes on this application. On the mininal changes if I can get back oracle forms 6.0 for solaris.
    Could anyone can tell me where can I download from the web site? I have been search for whole day long, but I could find any.
    Many Thanks,

  • How to improve performance of Oracle Forms Server ?

    Recently we converted our Application which was Developed in Forms 5.0 and Reports 3.0 into Forms6i to host that on to Web. We also loaded ORACLE 9iAS (on Windows NT 4 with service pack 3) from "Enterprise Edition" option by selecting Oracle Database Cache, Forms Server and Reports Server, HTTP Server(on port 80),Oracle Web Cache. Everything loaded succesfully including Caches.
    Forms server is working perfectly and we were able to run our Application in Browser, but performance is the issue. We thought the caches will improve the performance, but it seems they are not at all working. When we run a report or form the Database cache is not giving any statistics whether a particular Query is a Hit or Miss though the cache is running. We got a doubt and searched in FAQ's and we found the following questions.
    Oracle9iAS Web Cache Frequently Asked
    Questions February 2001
    Does Oracle9iAS Web Cache work with applications that use Oracle9iAS Forms?
    Not in the 1.x release of Oracle9iAS. Integration between Oracle9iAS Web Cache and Oracle9iAS Forms will be addressed at a future date.
    Oracle9iAS Database Cache
    Does the Cache work with Oracle Forms and Portal in Oracle9i AS?
    Since Oracle Forms and Portal utilize read/write PL/SQL stored procedures, these components cannot take advantage of the Cache. This support is being considered for a future version.
    After coming to know that Caches doesnot boost the performance of Oracle Forms and reports. We have the following queries.
    1) Clarify whether the above are True.
    2) Apart from DB and Web Cache is there any other way where in we can improve the performance of Oracle Forms and Reports in Forms Server including the start up time.
    3) What is the ideal configuration required for each tier (iAS Server,Database Server and Client) to host Forms on to Web considering our application as Medium scale.
    (Presently our configuration are,
    Application Server Configuration : Windows NT 4 with service pack 3,256 MB RAM,1 GB Virtual memory and 4GB free space and almost the same configuration is being used for
    Database Configuration.
    Client Configuration : Windows 98 with 64MB RAM).
    4) Is there any way to track the performance and know the problem areas like TRACE.
    Gopi Kumar
    null

    A couple of questions for you:
    1) What version of IAS are you using?
    2) What's the version of Forms&Reports and
    3) What version of patch are you using if any
    for forms&Reports?
    4) What applications are you running on the
    machine where Forms&Reports is installed?
    (I mean non-Oracle applications?)
    The problem could be that, the base addresses
    of the DLL's in Forms&Reports could be having base address conflicts with some other application's DLL's.
    Forms and Reports needs to be fully rebased to achieve full performance on NT. Before release of Forms and Reports, Oracle rebases all DLLs. Rebasing assigns unique base addresses to all of the DLL's in use by an executable. A properly based DLL will load at its preferred base address, greatly improving the efficiency of memory utilization and the runtime performance of the executable.
    Multiple utilities are available on NT to verify proper rebasing of DLLs. HandleEx v4.0 is one such freeware from Sysinternals and is available at www.sysinternals.com. Some others are "depends.exe" that's part of the MS Visual Studio or msinfo32.exe that comes with Office 2000 on NT.
    If after running any of these utilities you discover that the DLL's ar not properly rebased, you need to contact Oracle worldwide support.
    If you find that rebasing is not the problem, then please post your feedback again. Hope this helps.

  • 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 add a new font into Report Builder and Oracle Forms/Reports Server?

    Hi,
    I've searched the forum and can't find this being discussed.
    My developers run Report Builder 10.1.2.0.2 on their XP laptops.
    Their reports run (in production) on Oracle Forms/Reports Server 10.1.2.0.2.
    This server runs on MS Windows 2003, SP2.
    They've got a client who wants reports using the "Garamond Western" font.
    So....how do I get this font onto the developer's Report Builder laptops, and onto the Oracle Forms/Reports Server?
    I've moved various 'Garamond' fonts into C:\WINDOWS\FONTS on both the laptops and the server, but neither seem to recognize it.
    Thanks for your help.

    Thanks.
    This answers 1/2 of my question.
    The developer can now use Report Builder on his laptop, with the new fonts.
    But when he moves this new Report to the Oracle Application Server/Forms-Reports Server, it fails to use the new fonts.
    The Oracle App Server/Forms-Report Server is Version 10.1.2.0.2. It runs on MS Windows 2003, SP2.
    I have installed the exact same fonts on this server, into C:\WINDOWS\Fonts.
    I have used REGEDIT to change REPORTS_PATH....and placed C:\WINDOWS\Fonts; as the first value in this field.
    I have then stopped and restarted the Forms-Reports Server.

  • Updating record in a data block based on view in oracle forms

    hi all ,
    We have two data blocks in our custom oracle form.The first data block is for search criteria provided with buttons 'GO' and 'ADD ROW' and the second data block is based on a view that fetches record when user clicks on GO based on the the criteria specified in the above block. The Below block contains one SAVE button too.
    We have a requirement when GO button is pressed and corresponding records are shown in the below block, user should be able to edit the record. Want to know how to make it editable?
    Help appreciated....!!!

    Your view is based on how many tables and does it include all NOT NULL fields from all tables?

  • Unable to get Windows User Name using Oracle Forms 6i, Jinitiator 1.3.1.17

    Hi,
    Requirement: Get Windows User Name using Oracle Web Forms 6i.
    Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
    Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
    Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
    I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
    Also, please let me know if there is any other workaround for this requirement.
    Thanks & Best Regards,
    Mo

    Hi,
    Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
    Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
    I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
    I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
    Thanks so much for your help.
    Thanks & Best Regards,
    Mo

Maybe you are looking for