REFs in Forms 6i

Can anyone clarify a point for me. I know there are certain restrictions in forms 6i on referencing server types etc, but what are the limitations on REF objects.
eg I declare a forms procedure variable REFing an Object type v_address_ref REF address_type;
I have an forms item "block.pers_address_ref" as an Obj REF. I then populate v_address_ref with a valid REF (from say a database procedure).
If I try to assign something to this item it causes an error. eg :block.pers_address_ref := v_address_ref;
I've tried all manner of ways to try and assign a valid Object REF to a form Obj REF item type but with no luck.
Can it be done> If not is there a wotkaround??
Thanks,
Martin

Normally, column objects contain data. REF columns, however, are a special type of object column; instead of containing data, they contain POINTERS to data that resides in other object tables.
1) create an LOV for the REF item--see form's help; Or,
2) thru stored procedure.

Similar Messages

  • Ipod classic, says to refer to forms. will not cut on???

    Have an iPod classic. Have tried to reboot, still issues with only the Apple apparing in the screen and referring me to the forms to fix.

    Hey KL07,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand you are having issues with your iPod classic. The following troubleshooting assistant may provide a resolution:
    Apple - Support - iPod - iPod classic Troubleshooting Assistant
    http://www.apple.com/support/ipod/five_rs/classic/
    Additional Information:
    iPod Displays a Red "X" Icon
    http://support.apple.com/kb/TS1463
    Thanks,
    Matt M.

  • How to open a pdf form with fdf data

    Hi all,
          I am working on a new project. In that, I have to load a PDF contract form with FDF data on Internet Explorer Window.
    I don't know how to do it. Actually I tried using this format on the URL (while loading the respective page)
    http://www.example.org/pdf_file_name.pdf#FDF=http://www.example.org/fdf_file_name.fdf
    But it opened as an empty pdf document. . Actually I need it with the fdf data.
    Can anyone know any other way to do this?
    Or is this not possible to open a pdf form with fdf data in a browser?
    Thanks in advance
    Annamalai

    @ Bernd. It still opens a text file
    Here's my FDF file sample
    %FDF-1.2
    %âãÏÓ
    1 0 obj
    <<
    /FDF << /Fields
    <</V (07/22/2009)/T (Loan_Note_Date)>><</V (22.29)/T (Loan_AnnualPercentage_Rate)>></V ()/T (Seller_ESignatureArea1_Date)>><</V (GA Dealer)/T (Seller_Signer_FullNameTitle)>><</V ()/T (ThirdParty_ESignatureArea1_Date)>>
    /F (MARSMFLZ.pdf)/ID [ <1f0b6b55f345db39e8246247138fe562><e960588530b0d06d35cd618b34d4c314>
    ]>>
    >> endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF
    (I have uploaded the related pdf file before.)
    Just now I got an idea to use WScript (the code is written in javascript)
    ws = new ActiveXObject("WScript.shell");
    ws.Run('"AcroRd32.exe" "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"', 1, true);
    this opens my fdf document in Acrobat reader using command prompt.
    I have a doubt now, can i use some string in place of "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf" in the above command?
    I mean something like fdf_file = "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"
    and replace ws.Run('"AcroRd32.exe" fdf_file,1,true). I tried it but it doesn't work Any idea's? Since the path will not remain the same always. So i need to change it

  • FRM-92101- There is a failure in the form server during startup.

    Hi,
    I'm deploying a forms 10g application . I'm using Oracle Application Server Forms and Reports Services 10.1.2.0.2 under Red Hat Enterprise Linux 5, along with an Oracle 10g Database on another server. Every time I try testing the form services using http://10.0.4.114:7778/forms/frmservlet it brings out the errorFRM-92101- There is a failure in the form server during startup. This could happen due to invalid configuration. Please look into the web server log file for detail
    Right now, I'm a bit lost. Can anyone please tell me if there is some parameter I have to set, or something I should do to make it work?
    Thanks a lot

    Fabian,
    I did not make changes to those files. The forms services are working on another server with Red hat Rel 4 and 3 . What I did is to configure a new server with Red Hat Rel 5 , took the backup of all the forms binaries and the HOME and restore on the new server. I did the same thing for a server running rel 4 and it has no issue:
    The content of the files are as below:
    DEFAULT.ENV*
    # $Id: default.env 26-apr-2005.16:59:08 sujain Exp $
    # default.env - default Forms environment file, Solaris version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value used will be that defined
    # in the environment in which the servlet engine (OC4J or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=/u01/oracle10g_Forms
    FORMS_PATH=/u/oracle/bank/gmx
    REPORTS_PATH=/u/oracle/bank/fonts
    #TWO_TASK=rac.world4
    TWO_TASK=server.world
    #TWO_TASK=server1.world
    #TWO_TASK=s0999001.world4
    #TWO_TASK=s0202001.world4
    #TWO_TASK=server.world4
    NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256
    NLS_DATE_FORMAT=DDMMYYYY
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # FORMS_PATH=/u01/oracle10g_Forms/forms
    # webutil config file path
    WEBUTIL_CONFIG=/u01/oracle10g_Forms/forms/server/webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=/u01/oracle10g_Forms/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/oracle10g_Forms/jlib/repository.jar:/u01/oracle10g_Forms/jlib/ldapjclnt10.jar:/u01/oracle10g_Forms/jlib/debugger.jar:/u01/oracle10g_Forms/jlib/ewt3.jar:/u01/oracle10g_Forms/jlib/share.jar:/u01/oracle10g_Forms/jlib/utj.jar:/u01/oracle10g_Forms/jlib/zrclient.jar:/u01/oracle10g_Forms/reports/jlib/rwrun.jar:/u01/oracle10g_Forms/forms/java/frmwebutil.jar:/u01/oracle10g_Forms/forms/java/frmrwinteg.jar:/u01/oracle10g_Forms/forms/java/webutil.jar
    # The PATH setting is not required for Forms if the Forms executables are
    # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
    # are called from Forms applications.
    PATH=/usr/bin:/sbin:/bin:/u01/oracle10g_Forms/bin
    # Settings for Reports
    # NOTE: This setting is only needed if Reports applications
    # are called from Forms applications
    # However, because of bug 2336698 where a report is started from
    # a forms debugger session with an already running JVM, then
    # the report's class path should also be included in the forms
    # class path.
    # We no longer need to set REPORTS_CLASSPATH as forms will
    # always start the JVM before calling reports.
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>/forms/server
    # System settings
    # You should not normally need to modify these settings
    # Path for shared library objects
    # This is highly platform (if not machine) specific ! At install time
    # <percent>LD_LIBRARY_PATH<percent> should be replaced with the
    # actual value of the LD_LIBRARY_PATH environment variable (at install
    # time). That should ensure we have the paths for such necessities as
    # the motif and X11 libraries.
    # Explanations:
    # - Reports needs the path for libjava.so
    # (.../jre/lib/sparc)
    # - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    # - In JDK 1.4.1 the location of libjvm.so is lib/sparc (there is no
    # classic directory) so we do not include the .../classic directory
    # below. There are other versions of libjvm.so (in directories server,
    # client and hotspot) but we will use the version in lib/sparc for now.
    LD_LIBRARY_PATH=/u01/oracle10g_Forms/lib:/u01/oracle10g_Forms/jdk/jre/lib/i386:/u01/oracle10g_Forms/jdk/jre/lib/i386/server:/u01/oracle10g_Forms/jdk/jre/lib/i386/native_threads:/u01/oracle10g_Forms/inventory/filemap/jre/1.4.2/lib/i386/client:/u01/oracle10g_Forms/inventory/filemap/jre/1.4.2/lib/i386:/usr/lib:/u01/oracle10g_Forms/jdk/jre/lib/i386/server:/u01/oracle10g_Forms/jdk/jre/lib/i386/native_threads:/u01/oracle10g_Forms/jdk/jre/lib/i386:/u01/oracle10g_Forms/jdk/jre/lib/i386:/usr/lib:/u01/oracle10g_Forms/lib:/u01/oracle10g_Forms/classes/lib:/u01/oracle10g_Forms/ifs1.1/lib:/u01/oracle10g_Forms/jis/lib
    LD_ASSUME_KERNEL=2.4.19
    FORMSWEB*
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    #form=test.fmx
    form=B08SSS20.fmx
    # Forms runtime argument: database connection details
    userid=guiusr/guiusr
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=900
    # Forms applet parameter
    height=800
    # Forms applet parameter
    separateFrame=true
    # Forms applet parameter
    splashScreen=no
    # Forms applet parameter
    background=no
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=blue
    # Forms applet parameter
    logo=no
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,timeout.jar,frmrwinteg.jar,webutil.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=30
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=1
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=/u01/oracle10g_Forms
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=true
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [ref]
    #serverURL=/forms/lservlet/perf
    serverURL=/forms/lservlet/
    #otherparams=P_WST_LAN_IND=1 record=forms tracegroup=0-199
    #envFile=default.env
    [nat]
    #serverURL=/forms/lservlet/perf
    serverURL=/forms/lservlet/sessionperf
    #envFile=defaultar.env
    ERROR IN Java console is
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\akintayo.beckley.GTBANK
    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
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    oracle.forms.net.ConnectionException: Forms session <1> failed during
    startup: no response from runtime process
    at
    oracle.forms.net.ConnectionException.createConnectionException(Unknown
    Source)
    at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
    at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
    at oracle.forms.net.HTTPNStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.HTTPConnection.connect(Unknown Source)
    at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
    at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
    at oracle.forms.engine.Runform.initConnection(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)

  • Please help... about multiple form..

    hello guys,
    when I try to pass parameter to another form, I get following error
    FRM-47023:No such parameter...
    I double check that no error with parameter name...
    well, I get information that we should set FORMS_60 path or
    For R12 set FORMS_PATH and for 11i set FORMS60_PATH to refer $AU_TOP/forms/US
    For eg:
    FORMS_PATH=$FORMS_PATH:$AU_TOP/forms/US
    I don't know well how to that...
    is there another thing I miss??
    please help
    Regard.

    well guys,
    thank you very much for all your help.
    I have double checked again n again.. now it work.
    But it stranges, there are two blocks. STUDENT (in the caller form) AND STUDENTENROLLMENT(STUDENT as Master, Enrollment as detail) in the calling form.
    But when the STudent calls STUDENTENROLLMENT, it's true the value is passed to The Master block, but nothing changed on The
    there is only one parameter names P_1
    I make program unit on STUDENT. ADD_ENROLLMENT
    >
    PROCEDURE ADD_ENROLLMENTS IS
         v_plist_id     PARAMLIST;
         v_where               VARCHAR2(50);
    BEGIN
    v_plist_id := GET_PARAMETER_LIST('forms_params');
    IF NOT ID_NULL(v_plist_id) THEN
              DESTROY_PARAMETER_LIST(v_plist_id);
    END IF;
    v_where := 'STUDENT_ID = '||:STUDENT.STUDENT_ID;
    v_plist_id :=CREATE_PARAMETER_LIST('forms_params');
    ADD_PARAMETER(v_plist_id, 'P_1', TEXT_PARAMETER, v_where);
    COMMIT_FORM;
    CALL_FORM('STUDENTENROLLMENT', NO_HIDE, NO_REPLACE, NO_QUERY_ONLY, v_plist_id);
    END;>
    this is the trigger WHEN NEW FORM INSTANCE at the calling form.
    >
    DECLARE
         v_where varchar2(50);
    BEGIN
         IF :PARAMETER.P_1 IS NOT NULL THEN
              v_where := :PARAMETER.P_1;
              SET_BLOCK_PROPERTY('STUDENT',DEFAULT_WHERE,v_where);
              EXECUTE_QUERY;
    SET_BLOCK_PROPERTY('STUDENT',DEFAULT_WHERE, '');
              GO_BLOCK('ENROLLMENT');
         END IF;
    END;
    >
    Regard.

  • Oracle Forms Performance very slow on the internet

    Hi ,
    We have developed a form application with forms Developer 10g and deployed it on a ORACLE 10g AS. If the user runs our application over intranet there is no any network problem or not any performance decrease occurs. However if we deploy our application over WAN or internet, the startup time of the forms become Very Slow.
    What we can use to make it faster , is there any other tools we have to learn like APEX or JDeveloper , what is the best solution , should we forget the Developer for ever and starting with other tools with fast performance on the internet , if so , what we have to learn , please help us , its common problem .
    any help please ,

    Interesting thread....
    You asked whether "Forms" is the right product for the job. Well, the answer to that question will depend entirely on exactly what functionality you need and your skill-set. One advantage of using Forms over other Oracle products is that, in my opinion, Forms allows you to create simple or complex applications very quickly, with limited development experience. The downside to using Forms however, is that it does use a fairly thick client making startup slower than other applications. Generally, Forms is not very well suited for Internet deployments although it can and has been done. If your goal is to use a product which is easy to work with and is appropriate for Internet deployment, you may want to consider Apex. The downside to Apex is that unlike Forms, Apex generates what I like to call static html pages. Meaning once a page is displayed for the end-user, the data on it remains the same until the user forces interaction with the server again, but in this case the entire page would be refreshed in order to realize the changes. In the case of Forms, any content displayed to the end-user can be change without completely refreshing their view. I like to refer to Forms as a living application because unlike Apex, it can easily respond to most user inputs and/or server side changes almost in real-time. If you want this "live" experience, Forms might be the way to go, although at the cost of some startup performance. Alternatively, Oracle ADF can also give you a similar live-like experience. However, ADF will require a broader skill-set (pl/sql, java, html, etc), whereas with Forms you could get away with only knowing pl/sql although java knowledge would be helpful.
    The views expressed in this thread are my own and do not necessarily reflect the views of Oracle.

  • Load form created by screen painter

    hello every one,
    i've a problem. What are the steps to be followed to load a form created by screen painter?  might i have any  sample code In order to understand the various phases? thank a lot

    hi
    lorenzo pelati
      first u   create  a  form in   screen painter , nd after save this form , when  u save this form than this fom  extation is  .srf file,   after that  convert this file  to  .xml
      file ,  and after call  this form to   our application ,
    follow this code.........................................
    in this code  newpa.xml     is a one form xml file.
    in this code   SBOFormEditor_13  is a screen painter  form id,
      private void LoadFromXML( ref string FileName ) {
            System.Xml.XmlDocument oXmlDoc = null;
            oXmlDoc = new System.Xml.XmlDocument();
            // load the content of the XML File
            string sPath = null;
            sPath = System.IO.Directory.GetParent( Application.StartupPath ).ToString();     
              sPath = System.IO.Directory.GetParent( sPath ).ToString();
              oXmlDoc.Load( sPath + "
    " + FileName );
            // load the form to the SBO application in one batch
              string sXML = oXmlDoc.InnerXml.ToString();
            SBO_Application.LoadBatchActions(ref sXML);
        private void SaveAsXML( ref SAPbouiCOM.Form Form ) {
            System.Xml.XmlDocument oXmlDoc = null;
            string sXmlString = null;
            oXmlDoc = new System.Xml.XmlDocument();
            // get the form as an XML string
            sXmlString = Form.GetAsXML();
            // load the form's XML string to the
            // XML document object
            oXmlDoc.LoadXml( sXmlString );
            string sPath = null;
            sPath = System.IO.Directory.GetParent( Application.StartupPath ).ToString();
            SBO_Application.MessageBox("sahe ha " + sPath, 1, "OK", "", "");
            // save the XML Document
            oXmlDoc.Save( ( sPath + @"\newpa.xml" ) );
      public   call form() {
            SetApplication();
            string transTemp0 = "newpa.xml";
            LoadFromXML( ref transTemp0 );
                    oForm = SBO_Application.Forms.Item("SBOFormEditor_13");
            // Show the loaded Form
            oForm.Visible = true;
            SaveAsXML( ref oForm );
       fallow this code .

  • Equivalent Sql function for Forms NAME_IN() built in

    Please let me know, is there any equivalent Sql function equivalent to Forms Name_in() built in. Thanks.

    What would such a function do in pure SQL? Or are you asking if you can refer to Forms variables in SQL that you issue from Forms?
    The answer to the first question I will delay until you define what it is that you want to do. The answer to the second question is that there is no way to do that. The database has no way of knowing how to resolve references to variables defined in client side PLSQL.

  • How to return integer used wit DMBS_SQL as ref cursor ?

    I am trying to return a ref cursor form a procedure to be used by xsql to output hierarchical XML.
    I created the query using the DBMS_SQL package, did an OPEN_CURSOR and then PARSE.
    Can I, and if so how, return the integer from the PARSE as a ref cursor out of my procedure ? According to the docs the integer in the PARSE is the ID number for a cursor.
    thanks,
    Reinier

    I suspect that you are a little confused. I doubt that what you are asking for is what you really need. I believe you want the contents of a ref cursor, not an integer that is the cursor id. Since you are using Oracle 8i, as mentioned in your other post, you don't need DBMS_SQL; You just need to open a ref cursor dynmacially. Please see my response to your other post:
    Re: Error while compiling form in AS 10g  deployed on Linux

  • Forms Server 11g running on VM Server

    Hi,
    Does anyone here have ever installed Oracle Forms & Reports 11g on a VM Server Instance? Can you recommended memory and disk space settings for that VM ?
    I've installed Oracle VM server and I have download Oracle Weblogic 10gr3 Template... Up and running. The directory structure is somehow different from what I am used about to do... TAke a look at the disk structure first
    root@bizdev:/u01 > df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/xvda2 1.1G 488M 553M 47% /
    /dev/xvda1 31M 7.0M 22M 25% /boot
    tmpfs 1.0G 0 1.0G 0% /dev/shm
    /dev/xvdb1 626M 496M 99M 84% /opt/oracle
    /dev/xvdc1 1004M 32M 921M 4% /u01
    Now, weblogic, utils and jrockit are installed on /opt
    root@bizdev:~ > ls /opt/oracle
    jrockit logs lost+found modules registry.dat registry.xml utils weblogic
    /u01 constains apps and domains dirs...
    root@bizdev:/u01 > ls /u01
    apps domains lost+found
    So by this structure Oracle Forms & Reports home would be /u01/apps/oracle/product/OHFR ??? And the FormsREportsDomain would be installed on /u01/domains... isnt it ?
    Anyone can share experience about this?
    Regards
    Ricardo

    Ricardo,
    I've done a lot of VM installations of WebLogic 11g w/ Forms but never used these VM "templates" that you use. I've always installed weblogic and Forms on a freshly installed operating system (Solaris,OEL,Redhat,Windows,etc..).
    Please refer to forms installation documentation provided by Oracle: http://download.oracle.com/docs/cd/E14571_01/install.1111/e10421/toc.htm
    Secondly, the statement "Oracle weblogic 10gR3" concerns me - what exact version of oracle weblogic server is installed?
    You need 11g Forms with 11g Oracle WebLogic Server. The versions are a little confusing but you need one of the following setups:
    1.) WebLogic Server 11g (v10.3.2) with Forms 11g (11.1.1.2)
    1.) WebLogic Server 11g (v10.3.3) with Forms 11g (11.1.1.3)
    2.) WebLogic Server 11g (v10.3.4) with Forms 11g (11.1.1.4) (Just recently released)
    Note: Forms 11.1.1.3 and Forms 11.1.1.4 are patchsets.
    Thirdly, for system specs. All minimum requirements are noted in the installation guide link i mentioned above. It depends on what environment this is and how many apps, users, etc. etc. However, for development environments i've done: usually 25GB+ HDD space, 4GB RAM, 1 CPU (1.5 Ghz+) has been sufficient.
    Hope this helps.
    Thanks,
    Gavin

  • Re: Smart Quotes crashes reports running on Reports Server 11g/Weblogic 10.

    Anyone experience smart quotes stored in oracle tables that causing report to crash. Is there a parameter option in Reports 11g/Weblogic or maybe a characterset change. We are looking at modifying the call package but would prefer a parameter change. Thanks.

    Ricardo,
    I've done a lot of VM installations of WebLogic 11g w/ Forms but never used these VM "templates" that you use. I've always installed weblogic and Forms on a freshly installed operating system (Solaris,OEL,Redhat,Windows,etc..).
    Please refer to forms installation documentation provided by Oracle: http://download.oracle.com/docs/cd/E14571_01/install.1111/e10421/toc.htm
    Secondly, the statement "Oracle weblogic 10gR3" concerns me - what exact version of oracle weblogic server is installed?
    You need 11g Forms with 11g Oracle WebLogic Server. The versions are a little confusing but you need one of the following setups:
    1.) WebLogic Server 11g (v10.3.2) with Forms 11g (11.1.1.2)
    1.) WebLogic Server 11g (v10.3.3) with Forms 11g (11.1.1.3)
    2.) WebLogic Server 11g (v10.3.4) with Forms 11g (11.1.1.4) (Just recently released)
    Note: Forms 11.1.1.3 and Forms 11.1.1.4 are patchsets.
    Thirdly, for system specs. All minimum requirements are noted in the installation guide link i mentioned above. It depends on what environment this is and how many apps, users, etc. etc. However, for development environments i've done: usually 25GB+ HDD space, 4GB RAM, 1 CPU (1.5 Ghz+) has been sufficient.
    Hope this helps.
    Thanks,
    Gavin

  • How to print Page No. in ALV footer.

    I am using the follwoing code but when I got print the page numbers are not displaying. I was copy the code from one of group message.
    Please tell where I am making mistakes means why page numbers are not displaying at footer.
    I want to print 30 rows on each page and display the page no. in footer of each page.
    REPORT  zift_test_alv.
    Report Name: PS Report                                               *
    Created by: IALI                                                     *
    Tables ( To support selection screen )
    TABLES:
           MSEG.
         S E L E C T I O N   S C R E E N        *
    *SELECT-OPTIONS: PostDate FOR BSIS-BUDAT.
    SELECTION-SCREEN: Begin of block B01 WITH FRAME TITLE TITLE01.
    SELECT-OPTIONS: so_plant                              FOR mseg-werks. " Plant
    SELECTION-SCREEN: end of block B01.
          D A T A   D E C L A R A T I O N       *
    Types
    types: begin of slis_print_alv1,
             no_print_selinfos(1) type c,  " display no selection infos
             no_coverpage(1) type c,                            "
             no_new_page(1) type c,                             "
             reserve_lines type i,         " lines reserved for end of page
             no_print_listinfos(1) type c, " display no listinfos
             no_change_print_params(1) type c,  " don't change linesize
             no_print_hierseq_item(1) type c,  "don't expand item
             print_ctrl type ALV_S_Pctl,
           end of slis_print_alv1.
    types: begin of slis_print_alv.
    include type alv_s_prnt.
    include type slis_print_alv1.
    types: end of slis_print_alv.
    types: begin of slis_alv_event,
            name(30),
            form(30),
          end of slis_alv_event.
    types: slis_t_event type slis_alv_event occurs 0.
    TYPES: BEGIN OF ty_mseg,
          WBS         type mseg-PS_PSP_PNR,
          MSEG_WERKS  TYPE MSEG-WERKS, " Plant
          ABLAD       TYPE MSEG-ABLAD, " Unloading Point
          WEMPF       TYPE MSEG-WEMPF, " Goods Receiptent
          MBLNR       TYPE MSEG-MBLNR, " Material Do Number
        end of ty_mseg.
    Internal tables and work areas
    DATA:
          IT_MSEG         type table of TY_MSEG,
          GV_TITLE       type LVC_TITLE.
    DATA: gt_events type slis_t_event,
    gd_prntparams type slis_print_alv.
         r_alv_template type ref to ZCL_BT_ALV_TEMPLATE.
    Data declarations for the ALV grid
    DATA:      r_grid      TYPE REF TO cl_gui_alv_grid.
    DATA:      alv_fieldcat TYPE slis_t_fieldcat_alv,
               wa_alv_fieldcat TYPE slis_fieldcat_alv,
               alv_layout   TYPE slis_layout_alv,
               gd_repid     LIKE sy-repid.
    Initialization.
      select single max( ddtext ) from dd02t into TITLE01 where tabname    = 'MSEG'
                                                            and ddlanguage = sy-langu."#EC *
          D A T A   S E L E C T I O N           *
    START-OF-SELECTION.
    SET COUNTRY 'PK'.
      " Getting data from MSEG
      SELECT APS_PSP_PNR AWERKS AABLAD AWEMPF A~MBLNR
          FROM mseg AS A
          INTO table it_mseg
          WHERE a~werks in so_plant.
          A~PS_PSP_PNR IN SO_WBS.
    *BREAK-POINT.
           A L V   P R O C E S S I N G          *
    END-OF-SELECTION.
    PERFORM alv_setup.
    PERFORM display_alv.
    FORM alv_setup.
      CLEAR wa_alv_fieldcat.
      REFRESH alv_fieldcat.
      wa_alv_fieldcat-key = ''.
      wa_alv_fieldcat-fieldname = 'WBS'.
      wa_alv_fieldcat-seltext_s = 'WBS'.
      wa_alv_fieldcat-seltext_m = 'WBS Element'.
      wa_alv_fieldcat-seltext_l = 'WBS Element'.
      APPEND wa_alv_fieldcat TO alv_fieldcat.
      wa_alv_fieldcat-key = ''.
      wa_alv_fieldcat-fieldname = 'ABLAD'.
      wa_alv_fieldcat-seltext_s = 'Un Ld Pnt'.
      wa_alv_fieldcat-seltext_m = 'Un Lding Pnt'.
      wa_alv_fieldcat-seltext_l = 'Un Loading Point'.
      APPEND wa_alv_fieldcat TO alv_fieldcat.
      wa_alv_fieldcat-key = ''.
      wa_alv_fieldcat-fieldname = 'MSEG_WERKS'.
      wa_alv_fieldcat-seltext_s = 'Plant'.
      wa_alv_fieldcat-seltext_m = 'Plant'.
      wa_alv_fieldcat-seltext_l = 'Plant'.
      APPEND wa_alv_fieldcat TO alv_fieldcat.
      wa_alv_fieldcat-key = ''.
      wa_alv_fieldcat-fieldname = 'WEMPF'.
      wa_alv_fieldcat-seltext_s = 'Good Rec'.
      wa_alv_fieldcat-seltext_m = 'Good Rec'.
      wa_alv_fieldcat-seltext_l = 'Good Receipt'.
      APPEND wa_alv_fieldcat TO alv_fieldcat.
      wa_alv_fieldcat-key = ''.
      wa_alv_fieldcat-fieldname = 'MBLNR'.
      wa_alv_fieldcat-seltext_s = 'Mat Doc'.
      wa_alv_fieldcat-seltext_m = 'Mat Doc'.
      wa_alv_fieldcat-seltext_l = 'Mat. Doc. No.'.
      APPEND wa_alv_fieldcat TO alv_fieldcat.
    ENDFORM.                    " alv_setup DMBTR
    FORM display_alv.
      gd_repid = sy-repid.
    Configure layout of screen
      alv_layout-colwidth_optimize = 'X'.
      alv_layout-zebra             = 'X'.
      alv_layout-no_min_linesize   = 'X'.
    Now call display function
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
               i_callback_program       = gd_repid
               i_callback_top_of_page   = 'TOP_OF_PAGE_SETUP' "Ref to form
               is_layout                = alv_layout
               it_fieldcat              = alv_fieldcat
              i_grid_title             = text-005
                  it_events = gt_events
                  is_print = gd_prntparams
                  i_save = 'X'
          TABLES
                t_outtab                = IT_mseg
         EXCEPTIONS
             program_error            = 1
             OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    perform build_events.
    perform build_print_params.
    ENDFORM.                    " display_alv
    FORM top_of_page_setup.
      DATA: t_header TYPE slis_t_listheader,
            wa_header TYPE slis_listheader.
      wa_header-typ  = 'H'.
      wa_header-info = 'Test Report '.
      APPEND wa_header TO t_header.
      CLEAR wa_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = t_header.
    ENDFORM.                    " top_of_page_setup
    *& Form BUILD_EVENTS
    Build events table
    form build_events.
    data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
      exporting
      i_list_type = 0
      importing
      et_events = gt_events[].
      read table gt_events with key name =
      slis_ev_end_of_page
      into ls_event.
      if sy-subrc = 0.
      move 'END_OF_PAGE' to ls_event-form.
      append ls_event to gt_events.
    endif.
      read table gt_events with key name =
      slis_ev_end_of_list
      into ls_event.
      if sy-subrc = 0.
      move 'END_OF_LIST' to ls_event-form.
      append ls_event to gt_events.
      endif.
    endform. " BUILD_EVENTS
    *& Form BUILD_PRINT_ PARAMS
    Setup print parameters
    form build_print_params.
    gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
    gd_prntparams-no_coverpage = 'X'.
    endform. " BUILD_PRINT_ PARAMS
    *& Form END_OF_PAGE
    form END_OF_PAGE.
      data: listwidth type i,
      ld_pagepos(10) type c,
      ld_page(10) type c.
      write: sy-uline(50) .
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *& Form END_OF_LIST
    form END_OF_LIST.
      data: listwidth type i,
      ld_pagepos(10) type c,
      ld_page(10) type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    Regards
    Iftikhar Ali
    Islamabad

    Hi, 
             just populate ur eventcat  like this , may be this can help u
    form zf_eventcat  using    p_it_eventcat type slis_t_event.
      data l_eventcat type slis_alv_event.
      clear l_eventcat.
    *Get all the events.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_it_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    TOP-OF-PAGE FORM
      clear l_eventcat.
      read table p_it_eventcat into l_eventcat with key
                              name = slis_ev_top_of_page.
      if sy-subrc = 0.
        move 'ZF_TOP_OF_PAGE' to l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                             transporting form.
      endif.
    PF_STATUS_SET FORM
      clear l_eventcat.
      read table p_it_eventcat into l_eventcat with key
                              name = slis_ev_pf_status_set.
      if sy-subrc = 0.
        move 'ZF_PF_STATUS_SET' to l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                          transporting form.
      endif.
    USER_COMMAND FORM
      clear l_eventcat.
      read table p_it_eventcat into  l_eventcat with key
                               name = slis_ev_user_command.
      if sy-subrc = 0.
        move 'ZF_USER_COMMAND' to  l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                          transporting form.
      endif.
    endform.                    " zf_eventcat
    reward if helpful

  • DISPLAY ANY VALUE OF FIELD OR VALUE WITH ALERT MESSAGE

    COULD I KNOW THAT HOW CAN WE DISPLAY A VALUE OF A FIELD OR A BIND VARIABLE WITH MESSAGE OF AN ALERT IN FORMS.
    AN ALERT WICH HAS ALL THREE BUTTON

    First creat an alert in the object navigator called MY_ALERT then use the following code
    alert_id := Find_Alert(MY_ALERT');
    set_alert_property(alert_id, ALERT_MESSAGE_TEXT, 'YOUR MESSAGE '||<BIND VARIALBEL OR :ANY FIELD VALUE); alert_button := show_alert(MY_ALERT);
    IF alert_button = alert_button1 THEN
    <do something>;
    ELSE
    <do something>;
    END IF;
    (Refer to forms help as it explains more in detail)

  • Error Occures while Passing Data

    Hi All,
    I am making an ADD-On Form by using VB.Net 2005 on its DI API portion. And its UI API portion is designed in XML.
    This Add-On has an Matrix on it, which store item details. Now while I am going to choose Items from ItemList , after selecting the Item , when I am pressing on OK button ... it returns an peculiar error --- "<b>Form - Invalid Form</b>" . I just unable to track down its where abouts. Please do me a fever if you have any idea regarding this matter.
    Thanking you,
    Regards,
    Ranajit

    Hi Ranajit
    Perhaps you are refer a nameForm (and not refer an UID form??)
    the error : "Invalid Form"  ussually its cause for refer a Form which NOT exist

  • Query on folder using cfdirectory

    HI i have a problem on my email page. i have to get the data
    on a remote pc. my cf server is running on linux, is there any ways
    i can access my files. i need to attach the files on my email. but
    before it will be attached i need to get the latest file so i have
    to query it. i also tried mapping the folder located on the remote
    pc but it doesnt work, can somebod help me in my problem,,
    attached is my code for further understading on my problem:

    The first line of your code is <cfif
    IsDefined("form.mail")>. Is form.mail a checkbox or radio
    button?
    The next line is <cfif form.mailto is not "">. I
    presume this is an <INPUT> text field or a textarea.
    The reason I ask, you first refer to form.mail, then do a
    <CFIF> on form.mailto.

Maybe you are looking for

  • Can no longer play hundreds of songs after buying new PC

    I recently restored an external drive after buying a new PC and there are hundreds of songs I can no longer play because it says this device is not authorized.  I have authorized this PC and 2 devices. Help!

  • CS4 and Yosemite, Camera Raw update

    I bought a new apple macbook with Yosemite, I installed Adobe CS4. All good so far. But when i wanted to install the Camera Raw update Adobe refused. How can I install the newest Camera Raw?

  • Procurement Type 'X' and Special Procurement Type

    Hello all, Need some advice over this topic. Material with procurement type 'X' can either be procured externally or manufactured in-house. The problem is : #1. If a special procurement type that corresponds to external procurement say for example '3

  • Windows 7 32 bit to 64 bit...how?

    I have the OEM dvd with Windows 7 Pro 32 bit.  How can I get the 64 bit version? (it's not on the dvd that I have) Can I download the 64 bit version from Microsoft or something like that, will it accept the activation from my 32 bit? Thanks.

  • 160G iPod, iTunes gone from old computer, New LapTop???

    Where do I go from here. The old computer is not an option. I want to download the newest version of iTunes into my new laptop, but have a couple of concerns with the idea. 1. Will it be too much for my laptop? 2. If I successfully download iTunes &