Form to find

I need to create a new form to search quickly the codes customers.
If I must to search the customer "PAROL", I would like to digit the first letter "P" and I would like to appear in detail all the customers beginning with tha letter, when I type the sevcond letter A, I would like to appear all the customers beginning with PA .... and so.
Example :
when I type first letter
Customers : P
PIPPO
PLUTO
PAPERINO
PAROL
PAROLA
when I type second letter
Customers : PA
PAPERINO
PAROL
PARELA
CUSTOMES : PAR
PAROL
PARELA
Is it possible?
Thanks
Silvia

Let me assume ur showing the customer codes in a separate window as tabular view with an addition of the search combo box.
when u open the window show all the customer code.
In the combo box set the blocks default where property in when list changed trigger.
Example :- set_block_property('black_name',DEFAULT_WHERE,'customer_code like '''%'||:search||'''');
i didnt worked out this
its just my idea.
Regards
Balaji.M

Similar Messages

  • Open Purchase Order Form in Find Mode

    Hi,
    I have to open the Purchase Order Form in Find Mode.How to open in Find mode?.
    I Used the Following Code in Form_Load  && Action_Success=true
    if(oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE)
            oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
    But it is not working.Please help me to solve this.
    Regards,
    M.Dhivya

    call
    ActivateMenuItem( "1281")
    in application object.

  • Updating a user text field in sap system form in Find Mode

    Dear All,
                    I created a Edit text field in Sap System form [FormType :149] -Sales Quotation. I want to update a value to the text while clicking OK button in Find Mode. the code is given below.
    If pVal.ItemUID = "1" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE And (Not pVal.Before_Action) And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
            oForm = SBO_App.Forms.Item(FormUID)
            oForm.Freeze(True)
            oItem = oForm.Items.Item("txtUID") 
            oEdit = oItem.Specific
            oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
            oItem = oForm.Items.Item("txtCampgn")         ' //  User created field
            oItem.Enabled = False
            oEdit = oItem.Specific
            If oRS.EOF = False Then
                oEdit.Value = oRS.Fields("CMNAME").Value
            Else
                oEdit.Value = ""
            End If
    end if
    while clicking the OK button, Based on the value fetched on the screen, I have to open a recordset and get the value.  But, the screen loads the value to the system textboxes. I could not get those value to run the Sql  in the event. it returns empty. Could any one help please how to solve this ?
    Thanks in advance.
    Manikandan.

    Hi,
    Try This..
    If pVal.FormType = 149 And pVal.ItemUID = "1" Then
                If pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
                    If pVal.Before_Action = False Then
                        If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                            Try
                                oForm = SBO_App.Forms.Item(FormUID)
                                oForm.Freeze(True)
                                oItem = oForm.Items.Item("txtUID")
                                oEdit = oItem.Specific
                                oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
                                oItem = oForm.Items.Item("txtCampgn") ' // User created field
                                oItem.Enabled = False
                                oEdit = oItem.Specific
                                If oRS.EOF = False Then
                                    oEdit.Value = oRS.Fields("CMNAME").Value
                                Else
                                    oEdit.Value = ""
                                End If
                            Catch ex As Exception
                                SBO_application.MessageBox(ex.Message)
                            End Try
                        End If
                    End If
                End If
            End If
    Best Regards,
    Mahendra

  • Form in Find Mode

    Hai,
    After matrix is loaded the "Add" button changes to Find mode. I need "Add" button to be in "Add" mode after the data gets loaded into the matrix.
    when i click any row in the matrix button should change to update mode automaticall as SAP Businees one scree does.
    In the screen painter i have used AutoManaged = "True" and below given to load the matrix.
    Public Sub Getdata()
            Dim oDBDataSource As SAPbouiCOM.DBDataSource
            Dim oUserDataSource As SAPbouiCOM.UserDataSource
            Dim oMatrix As SAPbouiCOM.Matrix
            Dim i As Integer '// to be used as counter
            '// getting the data sources from the form
            oDBDataSource = oForm.DataSources.DBDataSources.Item("@PSSIT_COUNT")
            '// getting the matrix from the form
            oMatrix = oForm.Items.Item("3").Specific
            oMatrix.Clear()
            '// Querying the DB Data source
            oDBDataSource.Query()
            For i = 0 To oDBDataSource.Size - 1
                oDBDataSource.Offset = i
                oMatrix.AddRow()
            Next i
            oMatrix.AutoResizeColumns()
        End Sub

    Hai,
    Please let me know where i can define the "Support modes" of the form.
    I have designed the screen in screen painter and save as "srf" format. I have loading the form in the same format.
    regards
    Suresh S

  • Open Users Setup form in Find mode

    Hello,
    When I open the users form
    Administration
    ---Setup
    General
    Users
    this form is in Add mode. Is there a way to have it in find mode directly ?
    Thank you
    Sébastien

    Hi,
    It is not possible to have the User - setup in the Find mode default.
    The form opens in the Add Mode and you have to go to the Memo and click on Find or do a Ctrl + F.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Just installed 10g: Main form cannot find subforms or menus

    I just added 10g FOrms Builder to my PC. I was running 9i and it still exists on the machine.
    Problem: My main form, when run locally from Forms Builder cannot find any of its menus or subforms unless the FULL PATHs are defined in the properties or CALL_FORMs.
    This was not a problem when running from 9i FOrms Builder.
    I am assuming its a parameter somewhere in the FORMSWEB.CFG file which sets the default path to whatever path the main form uses.
    Can anyone steer me in the right direction?
    THANKS!

    Hi,
    Well, I assume that if 9i was installed, you also had FORMS90_PATH set in the registry.
    Perhaps what is happening is Forms is running your main form, and then when you are calling other forms, it is using the 9i versions, and then failing because they are not 10g versions.
    For example:
    d:\app\9i\form1.fmx
    d:\app\10g\form1.fmx
    When trying to call form1.fmx, Forms follows the FORMS90_PATH first and uses the form in d:\app\9i\. Change your FORMS90_PATH and see what happens.
    This is just a theory, I am new to 9i and 10g myself.
    Cheers

  • Open a form from Find Form

    Hi,
    I am developing a new form using 6i Forms. The requirement is to first have a Find form and then when we click on 'Find', it should open the main form.
    I have developed both the forms. But my question is, where do we explicitly define that it should open the 'Find' form when we click the menu.
    This form is developed in Oracle Apps 11.5.10.
    Let me know
    Thanks
    Reddy

    The standard Find or Search feature you are referring to is a feature of the Oracle Enterprise Business Suite (EBS) and not a standard feature of Oracle Forms. I recommend you consult the Oracle Applications Developer's Guide for 11.5.10 in the (Oracle Applications Documentation library).
    If you still have questions at this point, I recommend you post your question in the General EBS Discussion forum.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Flash Forms not finding page elements on submit

    I have a flash form that performs perfectly from my computer
    and from several users computers. But there are several other users
    that get an error message saying that one of the form elements does
    not exist when they submit the form. Removing the 'offending'
    element just changes which element becomes the new 'offender'. I
    have tried adjusting the timeout for the cfform (I currently have
    timeout="200"). The form has approximately 70 fields and one image
    upload spread over 4-5 tabs. Consistently, the ones that have no
    problem, never have a problem and the ones that have a problem
    always have a problem. When I reproduce the error by remoting into
    my office computer, I also notice that not all of the elements are
    well formed. For instance, a textarea that was supposed to be in
    html was rendered as pure text. Has anyone had a similar issue or
    have a solution?

    yes but still no luck. When you go here do you see my flash
    form load in Safari? I'm using Safari for Windows not mac.
    http://www.jimmyharrell.com/contact.cfm

  • HT201250 my Time Machine back up icon is missing form my finder side bar.

    When i try to do a back up it says that "back up disk is not available" even though my external hard drive is connected via USB. I have also tried re-starting my computer and that didnt work. i also have tried connecting and resonnecting the USB, that didnt work either.

    Launch Disk Utility. Is the backup volume listed? If so, is it mounted (the mount status is shown at the bottom of the window when the volume is selected)? If it's not mounted, can you mount it by clicking the Mount button in the toolbar?

  • Form should not be in find mode

    Hello Experts,
    I have created one form but I am not putting Add button on form. When I load this form and did control + F then CFL is not working. This form going in find mode. I dont want this form in find mode.  What sould I do? Please help me sir.
    Thank You
    Regards,
    Prashant

    Hi,
    Try this
    if pVal.MenuUID = "mnu_MD" and pVal.BeforeAction = False
    LoadFromXML("CustomForm.xml")
    Soft_Form = Soft_Application.Forms.Item("formID")
    Soft_Form.EnableMenu("1281", false)
    end if
    Reply Me

  • Name in Find User Results Form

    Hi:
    I need to hide (or quit) the first column (Name) in Find User Results Form. It is possible?. There is a function that indicates all of columns, but the first column is not there.
    If is not possible to hide or quit it, can i move it to another position?
    Any idea?
    Thanks.
    MJ.

    Here is the summary:
    To set attribute view visibility/query indexing/accounts list view,
    edit in UserUIConfig.xml ->
    SummaryAttrNames
    QueryableAttrNames
    AppletColumns
    To modify Accounts Find Users and search results,
    edit idm/sample/userSearchDefaults.xml
    getSearchableAttrs
    getResultColumns
    If you do this method, you will not need to edit
    Find User Form
    OR
    Find User Results Form !
    This simplifies the problem greatly.
    I hope this helps somebody, because i didn't get any info from the forums.
    -jason

  • Find the location where forms is installed

    I want to run a report directly from form without showing
    parameter form. For this i use
    HOST('c:\orawin95\bin\r22run32.exe report = path of report
    userid = ' || get_application_property(username) || '/' ||
    get_application_property(password) ||'/'||
    get_application_property(connect_string) || 'parameter = YES
    destype = PRINTER batch = yes background = yes')
    Here I have a problem to find the location (ie c:\ or d:\ ..)
    where the forms is installed.
    Pls reply ,if anybody the solution.

    Why you don't use RUN_PRODUCT or RUN_REPORT_OBJECT function ?
    With RUN_PRODUCT or RUN_REPORT_OBJECT, forms will find where is
    report.
    Examples for RUN_REPORT_OBJECT:
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
    BEGIN
         repid := find_report_object('report4');
         v_rep := RUN_REPORT_OBJECT(repid);
    END;
    or example for RUN_PRODUCT :
    PROCEDURE Run_Emp_Report IS
    pl_id ParamList;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'EMP_QUERY',DATA_PARAMETER,'EMP_RECS');
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;

  • "Find Form" calendar is not working after migration

    Hi,
    We have migrated from Oracle 9i to 10g.we have one form ''FormA" and "find form" for that FormA.Calendar functionality is present in both FormA and "Find FormA".if we try to use calendar functionality in "Find formA",its giving error like FRM-40104 - No such block calendar,FRM-40105(unable to resolve reference to item claendar.cell1.........),FRM-41045 (cannot find item - invalid id).Actually this scenario is not working after migrating the FORMS application to 'OAS10.1.2' from 'OAS904' .
    In 'OAS904' ,The calendar item is present in the 'FormA' form, the 'calendar.show' hides the "Find FormA" and appears in the FOrmA and uses FormA's calendar item and after selecting the date,the date s applied to the "Find FormA"
    But after migration, the "Find FormA" is not hiding, so its not able to retrieve the calendar properties.Because the calendar is present in "FormA".
    Any problem with pll files like 'qmslib65','qmsolb65',qmsevh65'??
    please help me by providing suggestions.
    Thanks

    qmslib65','qmsolb65',qmsevh65Are these libraries self-written or from some third-party tool?

  • Oracle forms - .find method and .select method both recognized as .find method in OATS

    Hi All,
    Am working on Oracle EBS version R12.1.3 and trying to SELECT a responsibility from List of Values (LOV) but the code is working as .find method.
    Code:
    forms.listOfValues("//forms:listOfValues").select("001_Responsibility");
    The above method is working as
    forms.listOfValues("//forms:listOfValues").find("001_Responsibility");
    Please let me know if any details are required to understand issue.
    FYI:
    OATS version 12.4.0.1.139
    EBS version R12.1.3
    Thanks and Regards,
    Vasanth Kumar S M

    I called a procedure in in-insert and on-updateWhy are you writing this code in the first place? If you have a block based on an updatable view, just let Forms do the inserts and updates.
    If it's not an updatable view, use instead of triggers on the view.
    See this current thread too:
    INSTEAD of Trigger View for an Oracle EBS New form development

  • Open Word Doc from form in web setting not client/server

    Hello, I am new to form. I need to open a word doc (on client PC )from Oracle Form by a button click. I did some research online and looks like Client_Ole2 is the package I need. But when I looked into my Build-in Package (in forms builder), I only see OLE2, TEXT_IO etc. So when I try to declare a variable which is CLIENT_OLE2 like some post suggest, I got error message "identifier CLIENT_OLE2.OBJ_TYPE must be declared".
    So is that means that I need to install/setup WebUtil on my env to get this Client_Ole2 to show up on Form Builder?
    Thanks for help, please advise.

    I found the way to add webutil.pll to attached Libraries.This is the wrong way. Open the webutil.olb in the Forms Builder. Then open your form you want to add the Object Library too. In the Object Libraries node of the Object Navigator - double-click on the WEBUTIL node. This will open the Object Library properties window. Click on and drag the WEBUTIL entry to the Object Groups node of your Form. You will be prompted "Do you want to copy the object or subclass it?" Click on the Subclass button.
    Subclassing is a Forms method that allows you to share a single source of an object/code between multiple Forms. It is Forms' way of implementing inheritance.
    I also copied them to /forms/java directory too.This is not necessary. I recommend you delete the files you copied to the /forms/java directory. Forms will find the libraries if the .../forms directory is listed in your FORMS_PATH environment variable (see the default.env file). The /DevSuiteHome/forms directory should be the first directory listed in the FORMS_PATH variable.
    Remove path?". So I selected Yes. But when I run form, I got FRM_40039: Cannot attach library webutil while opening form ......".The fact that you are getting this error indicates that the /forms directory is NOT part of the FORMS_PATH.
    If I choose No to keep the hard code path, then if I deploy the form to testing server or production server, it will become problem! Right? How to solve this?Double-check to ensure it is listed. The variable entry should look something like:
    FORMS_PATH=D:\DevSuiteHome_1\forms;<any other directories you want to be part of your path seperated by ";">Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for