Icon on a button in oracle forms 6i

dev 6i, db 10g, win 8,

I'm putting an icon on a button in my form

I put a gif image in the path

C:\orant\FORMS60\java\oracle\forms\icons

and made property

iconic = yes

name of the icon file = splash

but I don't see the icon. is there something I'm missing?

Thank you

It is resolved now

I have to make sure that the icons is a .ico and put them in the folder where you save your forms,

and call without the path, just with the name, or the name and extension.

I don't know how the motor, read because the path of my forms is not written in the form60_path parameter.

but he read.

Thank you very much

Tags: Oracle Development

Similar Questions

  • Open a PDF document from local drive the trigger button of Oracle 6i form

    Hi all.
    I have an oracle forms 6i application. The system from where the forms are run... has a local folder with pdf documents. the requirement is that when the user clicks a button in the form of oracle... the respective pdf in the local folder should open (in the browser or in adobe pdf format or in any other way).
    I really desperately need this help. a google. has not used the host and client_host commands in the trigger button but I am presented with error message 'host, client_host' undeclared.

    bundles of thanks in advance to get out.

    client_host is not available in forms 6i as part of webutil. However you don't need client_host. Simply use the host :

    question

    host('rundll32.exe url.dll,FileProtocolHandler '||path_to_your_file);
    

    to open the pdf file with the associated reader pdf (Adobe Reader, or what you have installed).

    see you soon

  • ToolTip for the oracle Forms button

    Hello

    I'm working on forms 6i with database 10g, there is a button in the form my requirement is when my mouse over this button, it should send a message to the user, I want to implement using ToolTip

    To the help of the indicator built into the message appears in the lower left corner of the form but I want to use the ToolTip, please can someone suggest me how to implement this, I used when mouse enter trigger but it does not work.

    Help, please.

    Thanks in advance.

    Hello
    in help, it has ther tooltip, you can type the message you want to display (for type a message that you typed for the tip). If you want to also set the Visual attribute, you can set (which is below the ToolTip).
    It displays the message at run time when moving closer to this particular field...

  • Can we have pop up similar to Oracle Forms LOV LOV

    JDeveloper Version - 11.1.1.4.0


    My form is made up of empid, deptid, projectid. I have an InlputwithListofvalues for the project ID.

    I want to change the default functionality of the search popup that appears by clicking the search icon. It should work similar to Oracle Forms LOV. IIN pop up I need to have that one field, say the search field. On enter a value in the search field and clicking on the "Search" button, it should try to match the empid, projectid and deptid value. It should return all records whenever these values match.

    Yes, it will not work with VC (and when I think about it, once again, it was very bad idea :))

    So you can do the following (this time I tested app, so it works - or at least compiles :))):
    1. you don't need any ViewCriteria
    2. Add the new variable to link to your LOV viewobject (for example: "p_search") and change the data type and the label
    3. change the where clause in LOV view the object, something like this:
    EmpID =: p_search
    or projectid =: p_search
    deptId = or: p_search

    4. set Queryble = false on all attributes
    5 Add this VO as LOV your fields
    And, that is :)

    Because you define queryable = false at run time, you will see only the input field for the connection variable

    Dario

  • Take the backup of the user database using oracle forms 6i

    I need backup user database using oracle forms 6i. Is this possible?

    Yes.

    Try

    When press the button trigger

    DECLARE
        un                VARCHAR2(30);
        pw                VARCHAR2(30);
        db                VARCHAR2(30);
        con_str        VARCHAR2(100);
        --
        data_file    VARCHAR2(100);
        log_file    VARCHAR2(100);
        cmd_line    VARCHAR2(200);
        ALT NUMBER;
    BEGIN
        IF :CONTROL.file_name IS NULL THEN --- take a file location
            IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN
                RAISE FORM_TRIGGER_FAILURE;
            END IF;
        END IF;
        --
        un    := GET_APPLICATION_PROPERTY(USERNAME);
        pw    := GET_APPLICATION_PROPERTY(PASSWORD);
        db    := GET_APPLICATION_PROPERTY(CONNECT_STRING);
        con_str    := un||'/'||pw||'@'||db;
        --
        data_file    := :CONTROL.file_name||'\'||un||
                                 TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp';
    
        cmd_line    := 'exp userid='||con_str||' file='||data_file;
        HOST(cmd_line);
        --
    
        ALT:=SHOW_ALERT('MULTI_BACKUP');
        IF ALT=ALERT_BUTTON1 THEN
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            EXIT_FORM;
        END IF;
    
    END;
    
  • How to post several lines in oracle FORM

    Hello

    I created a custom form that has a header block and a block of retail. the retail block can have multiple lines. I have a requirement that lines (multi-line) block detail data will be validated during the recording of the record. Please indicate how we can do?

    Please note that the data are not saved and yet, it will be validated during registration or any click of a button.

    Please notify. It is urgent.

    Thank you

    Pirre

    Make the echo of Christian question... What do you mean by "validating"?  You have not yet defined what it means in your scenario!

    Is your retail block a block of the base table, or a control block?  Rather than the trigger key - Commit, you could use the triggers we insert or we--update since these will be triggered for each line that oracle Forms will insert or update.  If you want to keep your validation in the trigger key code - Commit, you will need to loop through all the rows in your detail block and validate each line manually.  If the validation logic is the same for inserts and updates - you can put this logic in a unit of program (procedure) and then call this procedure in the Insert and update triggers on.

    What about using the trigger when-validate-Record?  This trigger fires as you navigate from one line to the other, but it will save a loop block (if you continue to use the "enter" key).

    Craig...

  • How can we export itno csv data file for oracle forms

    Hello

    How can we export itno csv data file for oracle forms

    For example. I have the block called A.what never the data displayed on a block, when I click on a button, displays the block data, must be exported to the csv file.

    My application is running on the unix operating system.

    Please help on this.

    First of all.  What is your version of forms (for example: 11.1.2.2.0 not 11g).  Finally, who will use the .csv file?  If it is a user on their client computer - CLIENT_TEXT_IO TEXT_IO or WebUtil are standard packages used to export data to a file of Oracle Forms.

    The amount of data to be exported?  If you export only a couple hundred lines - export of Froms will be OK.  If you export more lines than that (300 + lines) then the export will be extremely slow to your username.  Keep in mind that forms is not designed to perform data exports - there are better tools available for this...

    Craig...

  • Oracle forms of many developers development environment

    I installed oracle 11 g 2 forms and weblogic on linux. I am able to test and run a form on it successfully.

    Now we intend to use it for many developers. My idea is that we should use the existing server weblogic as deployment for all forms of all developers.

    However to provide the forms of development etc generator, complete installation of weblogic and oracle forms server should be installed on every developer but this facility will be in development mode. Secondly, each form must be copied into the path of forms and form file cannot be deployed on weblogic as ear file online.

    My questions are

    form 1 - can can be deployed on weblogic server as ear/war file online?

    2 is that each developer will need to install the server weblogic and oracle forms 11 g r2 in mode of development on his pc? or they can share a single server of remote forms generator.

    There are several ways to answer your questions.  It would be as part of what could be "technically" and the other would be in the context of the license product allows you to do.

    Let's start by answering your questions directly:

    form 1 - can can be deployed on weblogic server as ear/war file online?

    No.  Forms applications are not the java (J2EE) applications.  That said, for the necessary files (fmb, mmb, pll) to a remote machine and prepare to be executable should be easy enough for most organizations.  Just let it drop the files to the correct location, compile and run.  Files can be moved to the server using ftp, shared, etc. drive.  You can even write your own application (for example, servlet) to help make this easier.  You can also create a forms (active WebUtil) application to help move the files on the local computer to the server computer.

    2 is that each developer will need to install the server weblogic and oracle forms 11 g r2 in mode of development on his pc? or they can share a single server of remote forms generator.

    In order to be in a "supported" configuration, each user intend to use the forms/States builders (IDE) must have a local copy on their computer and use it on the local computer.  Running the builders from a location remote only is not supported.  Refer to the Note MOS 68047.1 for more details.  This does not mean that the remote access will not work.  This simply means that Oracle Support cannot help you if problems occur with such a use of the product.

    Regarding the WLS installation part, a remote server can technically be used, but you always need to install on the computer where the builders.

    So, this brings me to the authorization of the present part.

    The license Developer Suite, which is required to use the manufacturers, is scheduled for local installation and local use of the product.  It is not intended to be used by remote users.  This would apply to both the tools and the runtime environment (server).  If you have one license deployment (e.g. Services forms/States, iAS-EE or WLS Suite) then you can develop your application (assuming that you also have an ID license) with your local builders, then back to application modules resulting remote installation of WLS (forms/reports and Services) in order to run/test the application.

    From a technical point of view, to use the 'Run the form' button in the report designer to access a remote deployment environment, simply change the value "Application Server URL" in the Runtime tab in the preferences.  As mentioned, it will be up to you to determine how you want to move the modules (fmb, mmb, pll) on the target computer and compile them.  Now when you press the button run the form, the form will run on the remote server.

  • Insert multiple record Oracle forms 6i

    Hi all

    I have a single column of field Field1, button, in the form TEXT_ITEM1.

    After giving the sales order number in Field1, when should press us the button, the items (item_code) shown in the TEXT_ITEM1.

    I went through the discussion Insert several Oracle forms 6i, 9i/10 g recordbut did not exactly how to write the loop button when button pressed.

    first_record;
    <<record_loop>>
    loop
      insert into ....
      exit when :system.last_record = 'TRUE';
      next_record;
    end loop record_loop;

    My request for the loop is.

    Select RI_ITEM_CODE from OT_REQ_ITEM

    Where REQ_NO =: field1;

    Please suggest

    Thanks in advance.

    Kind regards

    Afzal.

    Forgive me if I am oversimplifying this, but why not just base your block of data to the table: XXTABLE.  Then, you just put your form in design query (F7). Enter the value of 1122 in the area of the INVOICE_NUM and selects Execute Query (F8).  Then forms does all the work to extract and display the records without having to write code to do this.  This saves you having to write the code to perform and DML as well because the forms will take care of the Insert, Update and Delete automatically when your users click on save or press F10 (if I remember correctly).

    If you must absolutely query and display your data manually, then you cannot use the standard SELECT INTO method because it will only show 1 record.  You need to loop through your recordset and to manually edit the records in your block after you assign a value to the line.  For example:

    
     /* Sample Button Code */
    DECLARE
      v_invoice_num NUMBER := BLOCK.TEXT1;
    
      CURSOR Get_Items (p_invoice NUMBER) IS
      SELECT INVOICE_NUM, ITEM_CODE
      FROM XXTABLE
      WHERE invoice_num = p_invoice;
     BEGIN
      GO_BLOCK('BLOCK');
      CLEAR_BLOCK(NO_VALIDATE);
    
      FOR rec in Get_Items(v_invoice_num) LOOP
      :BLOCK.INVOICE_NUM := rec.invoice_num;
      :BLOCK.ITEM_CODE := rec.item_code;
      Next_Record;
      END LOOP;
     END:
    

    I really don't like this method, but it could work.

    Craig...

  • How to debug a form (Oracle Forms 11 G) via the URL module

    How to debug a form (Oracle Forms 11 G) via the URL module.



    My server operating system is Unix. Then, I could not able to do forms of debugged by the form developer.
    It displays a message "cannot find module '. Because the system tries to find the module in the Unix system instead of my local system (Windows).

    I need to debug module my via a URL.
    I can place the fmb and fmx in path of form in the server.

    Please, help me to solve this problem...

    It's a little uncertain. If your goal is to use the form Builder debugger during execution of your form on a Unix machine, this can be done. However, the form must be in working order. So before you try to attach the debugger, you must first be able to start without the debugger. For example:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX

    Once it works correctly, you can turn on debugging. If your form does not even, using the debugger will not help you because it is designed to solve the problems and not coding configuration problems.

    So, follow these steps to use the debugger:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX & debug = yes

    This will display a dialog box with information. Do not click OK, but you will need this information to enter in the Forms Designer. Now, open the Forms Designer and click Debug > attach Debug. You will be asked for the information displayed in the dialog box where you tried to start the form. Enter it here (in the constructor), and then click ok in both places. To display the debugger (in Report Builder), click Debug > Debug Console. And then on the toolbar, click the buttons associated with what you want to monitor. Including a breakpoint in your application code is often a more useful way to use the debugger.

    Most of this information is explained in the Forms Builder online help

    I forgot to mention...

    For debug runtime problems, see the deployment of forms here Guide (this implies that you use 11.1.2):

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e24477/appa.htm
    .
    .

    Published by: Michael Ferrante (Oracle) on 21 February 2013 13:45

  • Simulation Wizard in oracle forms

    Please can someone help:

    I work in a project and one of the requested forms is a wizard that guides the user to complete certain data entries.
    is it possible in oracle forms?
    I use Oracle 10 g of form. Ideas please

    Hello

    is it possible in oracle forms?

    Yes

    What kind of canvas is better for my situation: stacked canvas?

    pls use 1 table of contents which is your main canvas and then build your stacked paintings tell 3 stacked paintings

    then build your blocks of database by selecting the paintings in the block appropriate for each

    sooner or later to create time to FINISHED design buttons, THEN back and accumulate your triggers that will trigger the aid...

    SHOW_VIEW('CANVAS_NAME') ;  -- Show the Stacked Canvas in NEXT button...
    
    GO_ITEM ('Item_Name'); -- Go to the stacked canvas item ; should be navigable and visible in ur stacked canvas 
    
    HIDE_VIEW('CANVAS_NAME'); -- hide the original current canvas in synchronize 
    
     --- do this for each NEXT button all the rest depends upon ur needs...
    

    I hope this helps...

    Kind regards

    Amatu Allah

  • Functioanlity of opening SESSION in Oracle Forms 10g

    Form dear gurus,

    I need to connect to the DB using Oracle Forms...

    So I created 3 text elements for string user and password for connection.

    Once you press the button, I use the following code
    Logon(:logon_block.) Username: logon_block. PASSWORD | » @' || : logon_block. CONNECT, fALSE);
    If form_success then
    al_id: = Find_Alert ('WARNING');
    Set_Alert_Property (al_id, ALERT_MESSAGE_TEXT, "Connected); -now display the alert
    dummy_var: = Show_Alert (al_id);

    on the other
    al_id: = Find_Alert ('WARNING');
    Set_Alert_Property (al_id, ALERT_MESSAGE_TEXT, "Not connected"); -now display the alert
    dummy_var: = Show_Alert (al_id);
    end if;

    Apart from the usr/pwd his success giving only msg...

    You please give me your valuable contributions to overcome this problem...

    Thank you and best regards,

    Durai S E

    Instead of looking for "success of form", try verifies that you have actually connected. For example:

         IF GET_APPLICATION_PROPERTY (DATASOURCE) != 'ORACLE' then
              rtn := SHOW_ALERT ('LOGINFAIL');
              -- Do something here
         ELSE
              rtn := SHOW_ALERT ('LOGINSUCCESS');
              -- Do something here
         END IF;
    
  • Declaring variables in ORACLE Forms Builder 10g

    Dear Sir/Madam.

    I'm new in Oracle (Forms builder 10g) developer costume.
    I would like to declare three variables in the form builder and when I press the button it will run the querey / extract data from the specific table.

    Name of the table = Department
    Column names: dept_code number (5), dept_name varchar2 (20), dept_location varchar2 (25)
    Database user name; Yassen
    database: test.
    Please, help me to understand this problem.

    Thank you and best regards,
    Ghulam Yassen

    Published by: Ghulam Yassen on October 6, 2011 15:46

    Yassen,

    Try,

    DECLARE
      Num_Code DEPARTMENT.DEPT_CODE%TYPE;
      Str_name  DEPARTMENT.DEPT_NAME%TYPE;
      Str_Location DEPARTMENT.DEPT_LOCATION%TYPE;
    BEGIN
       SELECT DEPT_CODE, DEPT_NAME, DEPT_LOCATION INTO Num_Code, Str_name, Str_Location FROM DEPARTMENT WHERE DEPT_CODE = ;
    END;
    

    I hope this helps.

    Kind regards

    Manu.

  • Script to reset the icon of a button

    Hi I want to create an Acrobat X form where the user inserts a customer logo in a field. I found a script online that will allow users to look for a logo - it works because the field is implemented as a button, and the script allows the user to choose an icon for the button. Therefore, it seems that customer's logo has been added. Users do not know and cannot know that it is a button.

    Here's what she was:

    event.target.buttonImportIcon ();

    It works fine, but when it's time to reset the form, this field is not listed in the method 'reset form' normal (because it is not a text field, I suppose).

    Can someone help me with a small fix scripty? I am not experienced in the script at all and may not even be that part of the brain

    I'm on Mac, cordially.  Thank you!!

    Yes, you can name the fields you want, you just have to adapt the code to match the names. The hidden button can be placed anywhere you want and can be any size you want. Fair value layout hidden button other than "Label only. All other properties are not relevant.

  • Reports that generate output Excel do not open under ie8/Oracle Forms

    Hello

    We run Oracle Forms (no matter whether under Jinitiator 1.3.1.22 (28) or SUN's JVM) and generate output Excel with Oracle Reports (web.show_document). This works well in Internet Explorer 6 (ie6), but not in Internet Explorer 8 (ie8).

    The effect is that a new browser window opens and closes very quickly, without anything more happening.

    Honestly, I guess it doesn't have to do with oracle reports, but ask this, however, in this forum, because it could be people who have made the same experiences...

    In addition, I discovered that the same problem exists when gerenating excel or ms word via a db (with http modules) procedure output. There, I found this deletion of the issue (open/save/cancel) before opening a file (via the menu windows Explorer file type association) helped with excel and ms word output (but this can be regarded as an unsatisfactory workaround).

    The problem persists with the types of applications other than XLS or DOC files that are also properly registered on the client.

    I'm not sure whether mimetypes sent as files (which were obviously OK with ie6) play a role in this problem.

    Peter

    Hello

    Your problem with IE 8 seems to be similar to the one discussed here:

    IE7 windows opens and closes immediately

    http://www.experts-exchange.com/software/Internet_Email/Web_Browsers/interne
    t_Explorer/Q_23304982.html

    You can test the suggested solution:

    We found the framework we needed, in the Internet Options
    Security tab, if you select the internet zone, then click Custom level
    button, then scroll down to the downloads section, the first option is
    Ask confirmation for file downloads, set this to allow Guard IE 7
    to interfere with this kind of download.

    Example with screenshots:
    http://www.Celt.iastate.edu/WebCT/SecuritySettings.html

    Concerning

Maybe you are looking for