Is it possible in forms 10g.

Hello All Gurus,
I have a question in forms 10g and database 11g.
Is it possible to know how the user is navigating between the forms by mouse. For example in a form I have 3 blocks. According to the objects Navigator block1, block2 and block3 are the sequence for the blocks. Also in the layout editor it is synchronized with the object navigator.
Same the items in the block. My question is if I am in the item1 of block 1 and clicking in the item5 of block 1 then here I am moving forward and if I am in the item 5 of block 1 then click in the item 3 of block 1 then I an moving backward by mouse. Is it possible to know in forms?
Regards
SUN

Let's say you have 5 Blocks named block1 to block5.
In this five blocks you have 5 Items named item1 to item5
when moving from block1 to block3 it's foreward; otherway it's backward. (same with the items)
So in the when-mouse-click trigger:
check, if the current block is the same as before.
If so, check if the current item is higher then the last item (substring the itemnames).
if substr(:global.previous_triggeritem, -1, 1) > substr(:system.trigger_item, -1, 1) then
  moving_backward;
elsif substr(:global.previous_triggeritem, -1, 1) < substr(:system.trigger_item, -1, 1) then
  moving_foreward;
else
  position_not_changed;
end if;If the last block is another then the actual block do the same with the blocknames as you have done with the item names.

Similar Messages

  • How to Migrate Oracle Forms 4.5 to Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows xx and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks.

    For Forms Upgrade information I would firstly checkout the Forms Upgrade Center. If you don't find your answer there I would post your question to the Forms
    <p />
    Donal

  • Forms 4.5 Migration to Oracle Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows NT based environment and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks

    What is the better way to approach this issue?
    Whether, directly open the existing Forms into Oracle
    Forms 10g or first open the form into Forms 6i and
    then after 10g?As Grant said:
    4.5 to 10g (strictly speaking is not supported) but should work ok - Generally speaking you just open your Forms in the 10g builder and compile. You should check out otn.oracle.com/formsupgrade which gives you some good pointers including the Forms built-in procedures that have be desupported and removed from the product.
    4.5 -> 6i -> 10g was the supported route (but even 6i is desupported now).
    >
    Tell me the System Specification.... Database
    version.... Which Application Server is suitable....
    And whether the Oracle 9i database possible for Forms
    10g or not.OAS 10gR2, DB 9i is good.

  • Is it possible to use Oracle Forms 10g with Oracle 10g Lite Database?

    Hi All,
    We are in process of migrating our forms from 6i to 10g environment.
    We have two kinds of applications, one set run on general Oracle 11g database and the other set of forms run at the client machine using Oracle lite database.
    We dont have any problem with Forms 6i to connect to Lite database as it allows to connect through ODBC:DSN names. When we try to connect to a lite database (10gR3) from Forms 10g through ODBC/DSN, it's not allowing and throwing the below error.
    ORA-03121 : no interface driver connected - function not performed
    Can someone tell me if there is something wrong in our approach? Also advise how to use Oracle Lite database with Forms 10G.
    Sincerely,
    Praveen Manthena

    Hi,
    I have experience with 6i with lite database 10g. There are two version of lite database one is multi language support and other one in english. There lang problem in connectivity with multi language 10g lite database. I done connectivity with single language connectivity of 6i with 10g lite database. You should try this one with forms 10g.
    Regards,
    Naveed Ali

  • Running forms 10g from a discoverer ias installation. Is it possible?

    Hi, I want to run an application based on forms 10g using an iAS 10.1.2 that is actually been used to run Discoverer. In the iAS directory structure I can't find the "forms" folder or any of the configuration files (formsweb.cfg, default.env, Registry.dat, etc). Anyway, I could find OC4J_BI_Forms, and when I run "opmnctl status" that service is up and running (Alive).
    In order to install and run my forms application:
    - Do I have to install the "forms server" component to this iAS?, or may I use the current OC4J_BI_Forms to run other forms (and libraries)?
    - Or maybe, do I have to install the forms enabled iAS in a different ORACLE_HOME to be able to run my forms?
    I guess the version and releases numbers are not completely relevant. All I know about versions is the installed iAS whose release is 10.1.2.
    Thanks in advance
    RuBeck

    You can easily do this using pack & unpack.
    Change the machines in the managed servers where SOA is running. Pack the domain with -managed option. Unpack the domain in the new machine. Start the soa server now. It will start using the resources in the new machine.
    Eg:
    Currently Machine A has Admin Server, One WLS Managed Server & One SOA Server. You want to shift SOA server to machine B. Change the machine of SOA server using Admin Console. Pack the domain in Machine A. It will create a template jar. Copy the jar file to Machine B. Unpack it there.
    Make sure, you have same MW_HOME & ORACLE_HOME directory structure in both Machine A & B.
    My answers are based on that you are on 11gR1.

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine
    presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get the output excel on the client machine. Is there any parameter to set the destination {Server or Client} which decides the location of output file. If such is the case please let me know or please suggest what should i do. Please help me with proper solution.
    thanks
    Manoj

    If you have an "urgent" issue, I highly encourage you to contact Oracle Support. The forum probably isn't going to be your best source for "urgent" issues.
    http://www.oracle.com/us/support/oracle-support-services-359636.html
    https://support.oracle.com
    This will be especially important if you are new to any of the products as you will likely need documentation and/or product updates in order to ensure the most stable environment possible.
    There are a few publicly available documents which may help to get you started. In any case, these are just examples. They may or may not work to your liking. Further, in some cases they may not work at all. Many of the examples online are often outdated and do not function exactly as documented against other versions. Here is one:
    http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
    Additional documentation for using WebUtil is included in the Forms Builder online help. An update to the Builder Help files can be downloaded from here. Be sure to carefully review the included ReadMe before attempting to use them.
    http://docs.oracle.com/cd/B25016_08/doc/dl/web/forms_help/frmhelp_update.zip

  • ICONIC BUTTONS IN FORMS 10G

    Hi,
    I am trying to make a button iconic in Forms 10g,button icons are displayed.
    I have tried the following workarounds but no couldn't make it possible:
    1. I gave absolute path of icon file.
    2. tried .ico and .gif format images as well.
    I am using Linux OS. iDS 10g.
    Regards,

    If I understand you are looking for displaying icons at runtime.
    Have a look at the following link:
    deploying icons in forms9i

  • Using graph in forms 10g

    Hello,
    I am using FormsGraph in forms 10g.
    Now I need additional options - more visualized graph and dynamic graph - like in Flash.
    Is there a way to achieve that using a java bean?
    Is it possible to use flash inside a form window?
    Thank you,
    Nina

    Java Plug-in 1.6.0_14
    Using JRE version 1.6.0_14-b08 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\nina_n
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx
    load: class oracle.forms.webutil.common.RegisterWebUtil not found.
    java.lang.ClassNotFoundException: oracle.forms.webutil.common.RegisterWebUtil
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx
    גרסת Forms Applet היא : 10.1.2.3
    Reading certificates from 1990 http://pc10-060.jer.ad.malam.com:8889/forms/java/eHTMLBrowser.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\9\603b1b09-2844393f.idx
    Reading certificates from 6718 http://pc10-060.jer.ad.malam.com:8889/forms/java/jdic.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\51\2a47f033-52581ebc.idx
    org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown Source)
         at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
         at oracle.forms.fd.EnhancedHTMLBrowser.<init>(EnhancedHTMLBrowser.java:56)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at java.io.WinNTFileSystem.canonicalize0(Native Method)
         at java.io.Win32FileSystem.canonicalize(Unknown Source)
         at java.io.File.getCanonicalPath(Unknown Source)
         ... 23 more
    ------> ExtendedFrame title : Enhanced Web Browser
    Set Border=false
    Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx

  • Trap Key pressed in Forms 10g.

    Hi All,
    Have anyone trapped the keys which are pressed in Forms 10g. We have a requirement in which in a LOV Form when TAB key is pressed it should navigate to the next field and when ENTER key is pressed it should select the value from that field and get back to the field from where it was invoked.
    We had tried http://forms.pjc.bean.over-blog.com/article-15980196.html from Francois Degrelle which traps he key pressed. But that is throwing us some error in JInitiator console.
    Expecting a favorable reply from the forum users on this to .
    Thanks in advance

    Monsieur Degrell,
    is it possible to listen just to one item in the form?
    I have triedSet_Custom_Property( 'b_hilfe.bean', 1, 'INIT', 'b_help.search');in when-new-form-instance, where 'b_help.search' is the item i want to listen to,
    but the bean still listen on every item in the form.
    kind regards

  • Not able to create a text file in Client Machine using Forms 10g

    Hi - I'm mot able to create a text file in Client Machine using Forms 10g. I'm getting error when system executes the bolded line.(i.e. CLIENT_TEXT_IO.FOPEN). During run-time system is throwing "ORA-06508: PL/SQL: could not find program unit being called".
    I had attached webutil.pll in the form.
    Please advise me.
    DECLARE
    l_Temp CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    LN$Lines Pls_integer := 0 ;
    LC$Line Varchar2(4000) ;
    Cursor C_CUR Is
    Select * From TEST_TEXTIO where rownum <= 50;
    BEGIN
    LC$Name := 'tmp_file.txt' ;
    LC$Fic := 'c:\temp\tmp_file.txt';
    Begin
    l_temp := CLIENT_TEXT_IO.FOPEN( 'C:\temp\tmp_file.txt', 'W');
    Exception
         when others then
         message( 'OPEN FILE ERROR ' || LC$Fic ||sqlerrm );
         display_error;
         raise form_trigger_failure;
    End ;
    -- Write the lines --
    For Cur In C_CUR Loop
         LC$Line := Cur.CODE || ' -> ' || Cur.COL1 || ',' || Cur.COL2 || ',' || Cur.Col3 ;
         CLIENT_TEXT_IO.PUT_LINE( LF$File, LC$Line ) ;      
         LN$Lines := C_CUR%ROWCOUNT ;
    End loop ;
    -- Close the file --
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    Exception
         When others Then
    message('err='||sqlerrm);message(' ');
    display_error;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;      
         Raise ;
    END;
    Thanks.
    Arun

    Hi ,
    i have one Question though its not related to thos question if some could help me it will be really helpful,
    i have created one program to import and export excel to forms vice versa, if the form is attached with webutil its working fine am using ole2.but i have a new idea if i add this program in menu, it can be used for all the forms attched to that menu, i made program also, but problem am facing right now is if the form is not attched with webutil it will not work so is there possiblity to share my webutil from one form to another form ,so i will keep one form as a interface form in that webutil will be attched ,i can share that webutil to all other forms so that all the forms no need to attach webutil again
    if its possible means please suggest some ideas

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all,
    We are having database server - oracle 10g enterprise edition R2,
    forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
    We have created a table which has a column of type "timestamp",the following is the structure.
    CREATE TABLE  "STOCK_AREA_MASTER"
            (     "STOCK_AREA_CODE"     NCHAR(5)       NOT NULL    ENABLE,
                  "STOCK_AREA_DESC"     NVARCHAR2(40)  NOT NULL    ENABLE,
                  "RECORD_STATUS"       CHAR(1)        DEFAULT 'A',
                  "USER_ID"             NVARCHAR2(20)  DEFAULT USER,
                  "TIMESTAMP"           TIMESTAMP (6)  DEFAULT CURRENT_TIMESTAMP)
    [\code]
    We  tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
    FRM -10095 - Assertion failed
    on seeing the forms help for the error FRM-10095,We are getting the following message
    FRM-10095: Assertion failed in %s, at %s:%d. Cause:  An internal inconsistency was detected. Action:  Contact an Oracle support representative, and proceed with caution
    We have the following concerns.
    1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
    We would appreciate if some one could throw some light on the above.
    Thanks in advance
    Regards
    Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mohan,
    Hm. Strange.
    I have reproduced the problem in my environment.
    I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
    You may want to enforce some dateformat. I don't know whether that will work.
    Good Luck!
    Remco

  • Compilation problem in Forms 10g

    Currently we are upgrading from 6i to 10g forms
    we have 2 forms which we will complie partially in 10g and the form gets closed as a corrupted file.
    The same form when complied in 6i works fine.
    What can be the possible problem.
    Please help
    Thanks
    Yaaminy
    480-262-7881

    hi
    create a batch file of the following commands and compile them i hope it helps u.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completesarah

  • How to create business charts in Forms 10g?

    In the old days, before and in 8i, we can still create business charts using Graphics Builder with the following graph types. How can we build business charts in forms 10g?
    Column: Shows discrete values using vertical columns
    Bar: Shows discrete values using horizontal bars
    Gantt: Shows task or project scheduling information using horizontal bars
    High-Low: Shows multiple Y-axis values for each X-axis point
    Line: Shows data values as points connected by lines to show trends
    Mixed: Combines a column and line chart
    Pie: Shows how individual data values contribute to an overall total
    Scatter: Plots 2 sets of potentially related data to identify possible trends
    Table: Shows text data in a table
    Double-Y: Shows a column or line chart with multiple values for the same X-axis value

    On the samples page on OTN there is a piece on how to use BI beans to achieve business charts. Search for "BI bean Graphs in Forms".

Maybe you are looking for

  • Problem with JTable and JPanel

    Hi, I'm having problems with a JTable in a JPanel. The code is basicly as follows: public class mainFrame extends JFrame         public mainFrame()                 //A menu is implemeted giving rise to the following actions:                 public vo

  • Some hypertext links broken in generated PDF

    Hi all, I'm using FM 8.0p277 to generate a PDF of a book which uses hypertext TOC links to different chapters and topics. We've been using the same process for some time without any problems: Generate TOC -> Print book to .ps -> run Distiller. Howeve

  • Problem with Flynet WSG and Xcelsius

    Hi Gurus, Has anyone experienced really strange behaving with Xcelsius? When I connect everything I need through the data manager or what ever the name is and once I hit preview, it all works fine as far as it is connected to the local WS generated b

  • How do I get rid of a crsor that looks like a hand from a cartoon?

    This hand has just appeared and I hate it. How can I get rid of it and go back to my regular mac cursor?

  • Results in Query Builder Differ From Report Results

    I've got a report I built in SSRS using an SSAS dataset. The problem is that the results differ between the query builder result set and the actual report. For some reason, when running the actual report, certain rows are being filtered out, but yet