Oracle Forms 10G - cannot compile the form

Nice day

I get the following error message every time I try to compile my form:

Error 103 on line 2, column 1

Encountered the symbol "METHOD_NAME_HERE" when waiting for him at the following:

:=. (@%;

The symbol ': = ' was replaced by 'METHOD_NAME_HERE' continue.

Please notify.

Thomas

Nevermind, I used a backup and the problem did not go out.

Tags: Oracle Development

Similar Questions

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • Tasks Ant BPM Oracle with Oracle BPM Studio cannot find the jar

    Hello

    There is this documentation
    http://download.Oracle.com/docs/CD/E13154_01/BPM/docs65/anttasks/index.html

    which tells how to run Ant tasks to perform different tasks on Oracle BPM. In ALL the examples in the doc and the INTERNET there is this line in build.xml

    < name of project = "OracleBPMExample" xmlns:fuego = "antlib:fuego.tools.ant.enterprise" >

    Now, could someone please tell me where to find fuego.tools.ant.enterprise. Ive searched every pot in my system and could not find such package. What I've discovered, it should be something like fuego - antlib.jar, but if it is well known and well discussed is NOT AVAILABLE EVERYWHERE.
    Help, please. IM using Oracle BPM 10.3.2

    Kind regards
    Pawel

    You are right Mike... The Ant tasks help you do not treat admin stuff... While in enterprise environments, you can all script and requires no manual and other deployment.

    Just download 10g business... the library will be there...

    HTH

  • Cannot compile the project in CVI 2009 which were previously opened in CVI 2010

    This was extremely irrititating and does not know what the devil.  I have a computer with CVI 2010 and separated with CVI 2009.

    I have a project and the CWS, which was established in 2009.

    I opened and recompiled in CVI 2010 things since then, ensuring that I saved my .uir file in a CVI 2009 version or earlier.

    I usually open the file .prj or .cws on my computer of CVI 2009, but trying to compile and run in debug mode, all of the CVI crashes.  How can I recompile and work with it on my computer of CVI 2009?

    Am I missing something here?  Tehre are no error, warnings or reports of incidents, CVI righteous acts as I hit Alt + F4


  • Cannot compile the sample applications with the native SDK BB10

    Hello

    I downloaded the BB10 (10.0.4) native SDK and the sample application pack. However, some of the sample apps fail to compile (AudioControl and BelligerentBlocks, for example). The target isn't the playbook (Simulator).

    I get an error do the following:

    make [2]: * [C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7/AudioControl] error 1
    make [1]: * [all] error 2
    make: * [all] error 2

    Looking at the newspapers of generation, I receive the following linker error:

    'C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7 '.
    C:\bbndk-10.0.4-beta\host\win32\x86\usr\bin\ntoarm-ld: Notes: 'screen_get_window_property_pv' is defined in DSO C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib/libscreen.so.1 try so add to the linker command line
    make [1]:

    Am I missing something obvious? I'm competely new to makefiles, so if anyone has a suggestion, it would be welcome.

    Thank you.

    The latest NDK for Playbook is available from: //developer.blackberry.com/native/download/

    For waterfalls NDK 10.0.4, follow the instructions in Momentics content/getting started/Getting Started Guide Help/help / install and set up the Simulator

  • Oracle connection problem: cannot open the library

    Hello

    I'm using VS2010, Timesten 112241 and ODAC 1120320 on Windows 7. When I try to access database of TT using SQL Developer, for example, it works perfectly, but everything I try to access it from my application, he throws ORA-29158: could not open except for the library. I read a few threads on the forum about this problem, tried to copy the tnsnames.ora, sqlnet.ora and on the record of the new client after installing the ODP, set TNS_ADMIN to locations of files .ora, tns alias, the value, but nothing seems to work. Which library it refers? What Miss me?

    Here is the output of ttVersion:
    TimesTen release 11.2.2.4.1 (64 bit NT) (tt1122_64:53396) 2012-10 - 30 T 06: 32:14Z
    Forum admin: nikola.bajic
    Home Directory Forum: C:\TimesTen\TT1122~1\
    Accessible world
    Demon base directory: C:\TimesTen\TT1122~1\srv\info
    PL/SQL active.

    Here is the output of ttStatus:
    Daemon pid 1872 port 53396 instance tt1122_64
    TimesTen PID 1960 server started on port 53397
    C:\tt_temp\TT_ItemCache data store
    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\TT_tt1122_64 data store
    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\sampledb_112 data store

    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    Accessible by any group
    End of report

    Here the tnsnames.ora entry:
    tns_item_cache = (DESCRIPTION =
    (CONNECT_DATA =
    (SERVICE_NAME = TT_ItemCache)
    (Server = timesten_client)))

    Here's the code for the app:
    connStr = "user Id =;". Data Source = tns_item_cache;
    GetConnection (connStr);

    private OracleConnection GetConnection (String connStr)
    {
    Con OracleConnection = new OracleConnection (connStr);

    con. Open();
    return con;
    }

    Best regards
    Nikola

    Hello Nikola,

    Could you please put the code you are using, and the exact error you get. In addition, please check the env variables, as CLASSPATH, LD_LIBRARY_PATH and etc. here (java.sql.SQLException: problems with the native/lack of loading methods library )

    Also "verify that the entry in the tnsnames.ora file is associated with a DSN TimesTen or service_name in the simple connection string is set to a DSN TimesTen." (http://download.oracle.com/otn_hosted_doc/timesten/odpnet/readme.htm)

    Best regards
    Gena

  • In Oracle SQL, select cannot use the column in the statement and order of

    Hello

    Is there a work around for this.

    Thanks in advance
    Pablo.

    Hello

    943981 wrote:
    Hi all

    This is the error I get:

    ORA-00960: column ambiguous naming in select list
    00960 00000 - "ambiguous column naming in select list".
    * Cause: A column name in the order by list corresponds to more than a select
    columns in the list.
    * Action: Delete columns duplicated naming in the selection list.
    Error on line: column 6:17

    This error message seems pretty clear to me. What don't you understand?

    Or the other
    (a) use aliases, so each column has a unique name, or
    (b) remove the columns duplicated of the SELECT clause.

    Post your query. It is difficult to tell exactly what you're doing wrong when we do not know exactly what you are doing.
    For best results, view a complete test (including CREATE TABLE and INSERT statements) script, if necessary that people can to recreate the problem and test their ideas.
    See the FAQ forum {message identifier: = 9360002}

  • FRM-13008: cannot find javaBean with the name 'oracle.forms.fd.AddItem '.

    Hello

    I have 10 g forms in my pc (windows xp) location. I have jar jar files with me and associated examples.

    1. inside the My E:\DevSuiteHome_2\forms\java copy the additem.jar

    2 inside of the E:\DevSuiteHome_2\forms\server, I found the formweb.cfg file in the place where the first pot.

    serverApp = default
    # Forms applet archive for JInitiator
    archive_jini = frmall_jinit.jar, AddItem.jar

    and save the file.

    Now when I open the form in forms 10g, I get the following error. Please help me.

    FRM-13008: cannot find javaBean with the name 'oracle.forms.fd.AddItem '.

    Please help me how to solve my problem.

    Iqbal

    If it's only a 'Design' error, you can ignore it.

    Yes, but if you want to get rid of this error, include the full path to the jar file in the registry in the FORMS_BUILDER_CLASSPATH parameter

  • Oracle Forms 11 g Windows 2008 R2 64-bit - cannot download the Addon

    Hi Fusion Middleware Admins,

    Installed Oracle WebLogic 11 g (10.3.6) 64-bit on Windows 2008 Release 2 64-bit and above which installed and configured Oracle Forms and reports 11 g R2 (11.1.2.2.0).

    I get the following error when accessing the Test URL in the forms using Internet Explorer 8.  URL:http://hostname:portno/forms/frmservlet

    An add-on for this Web site has failed. Check the security settings in the Internet Options of potential conflicts

    The URL added to the list of trusted site and activate all parameters activex inside the Security tab of Internet Options. Nothing has worked.

    Please provide your valuable contributions on it.

    Thank you

    Salih

    Problem solved. I've accessed the URL using Internet Explorer 8 64-bit and it worked.

    Thank you

    Mohamed Yusuf Salih

    Senior Oracle DBA

  • Problem with LOV in Oracle forms 10g when running on the Web

    Dear

    I am facing problem in displaying LOV under Oracle developer 10g on the web.
    When I press F9 nothing appears on the screen, but in the taskbar, it displays a list of values.
    The query I used in the record group executed in SQL * more and it is there no problem with him.
    What all I need to do, pls help me to solve the problem.

    Thank you

    Hello

    You are welcome. :)

    whenever the issue is resolved, please mark it as correct and useful so that others may know what is the correct answer.
    and take a look at the Label of Forums

    Kind regards

    Manu.

  • Oracle Forms 10g runtime error

    Hello
    I am new to Oracle forms. I created the form, compiled successfully. But when I ran the form its opening a Page Internet Explore but display not nothing on the page. After a while his shows an error "Internet Explorer has stopped working". It is happen every time when I run the form.

    Please suggest me how to run a form in the application form as well as in the Internet Explorer web page.

    Thanks in advance
    Kaddour

    Suresh,
    Which edition of Windows 7 32-bit (etc. Professional, Home, Home Premium)? If you use a home edition - good luck to do this work. The necessary minimum edition is the professional edition. Just any editions have all necessary components of networking needed.

    If you use a professional edition or higher, then there are a few preparations you must do to make it work. They are:
    1. you must install the application as an administrator.
    2. you "run" the application as an administrator. The best thing to do is to find the Oracle executable and then right-click and select Properties. Click on the Compatibility tab, and then click "Run this program as an administrator." Windows 7 automatically runs applications like 'Standard user' - even if you have the privilege of administrator assigned to your account. This is part of the feature Universal Account Control (UAC) in Windows 7.
    3. you must install and use a compatible Java Runtime (JRE) (JRE 1.6.0 - No 1.7.0). Oracle Forms 10 g Release 2 (version 10.1.2.x.x) defautls to the use of the Oracle Jinitiator. However, Jinitiator is no longer compatible with Windows 7 and modern browsers or supported. Keep in mind that Jinitiator was to IE 6 so you cannot expect this JRE to work with modern browsers.
    4. change the formsweb.cfg to use JRE 1.6.0. Change the following lines:

    #baseHTMLjinitiator=basejini.htm
    baseHTMLjinitiator=basejpi.htm
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    jpi_classid=clsid:CAFEEFAC-0016-0000-0034-ABCDEFFEDCBA
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_34
    

    5. Finally, in order to run a form from the forms Builder, you must start the OC4J container. To do this, go to start-all programs-online Oracle Developer Suite - online DevSuiteHome-Online Forms Developer => start an OC4J Instance.
    The OC4J Instance emulates an application server which is required for Forms 10g Runtime.

    The changes described above assumes that you have installed the Java Runtime Environment (JRE) 1.6.0_34. If you have a lower version, make sure you change the "34" to the installed version.

    This is the minimum of changes necessary to make forms work on Windows 7 32 bit. It is strongly recommended that you apply the last group of patches (patches 3 Group) for forms bring your 10.1.2.0.0 version 10.1.2.3.0, but you will need a contract with Oracle support to obtain the fix.

    As for your question,

    One last thing, I've observed is the Oracle Services in the Control Panel control Panel\All Items\Administrative Tools\Services. I don't see any running services related to Oracle, in my system (do not even have a linked oracle service at this location).

    What other Oracle products you have installed? If just Oracle Forms, then you will have no service.

    Craig...

  • FRM-40010: cannot read the form under Linux

    Hello

    During the race, the f60desm gives error below command

    FRM-40010: cannot read the form /d01/oracle/prodappl/au/11.5.0/forms/US/PROJECT.fmx

    I've defined the following path

    (1) customPROD_A.env

    # Custom top PROJECT #.

    PROJECT_TOP=/D01/Oracle/prodappl/project/11.5.0
    export PROJECT_TOP

    (2) APPSPROD_A.env

    CustomFile=/D01/Oracle/prodappl/customPROD_A.env
    If [f $customfile]; then
    . /D01/Oracle/prodappl/customPROD_A.env
    FI
    . /D01/Oracle/prodora/8.0.6/PROD_A.env
    . /D01/Oracle/prodappl/PROD_A.env


    Environment:

    Oracle Applications: 11.5.10.2
    RDBMS: 11.2.0.1.0
    OS: OEL5


    Please help solve the problem.

    Thank you
    Concerning
    GSM

    Hello

    How to do the same thing in OEL5.

    The above applies to Windows (if you want to open the file on the Windows client machine fmb and compile - generate the fmx file). If you are on Linux, you need not to do the same thing, just the env file source application and compile the form (question "echo $FORMS60_PATH" to make sure that all the relevant directories are in the path).

    I created the directory of the root OEL5 ABC & copied all the pll, TEMPLATE.fmb & APPSTAND.fmb files in $AU_TOP/resources directory ABC but how to add ABC to FORMS_PATH in OEL5?

    As mentioned above, it is not required on Linux. However, if you want to add the ABC directory you issue:

    $ export FORMS_PATH =: $PATH

    Thank you
    Hussein

  • Not able to compile the form under Linux

    Hi all

    I use oracle Forms 11 g [32 bit] Version 11.1.2.2.0.

    I have developed a form in my local system (32-bit Windows) and now trying to compile the form to the server (Linux)

    I get the error message when compiling "FRM-91500: unable to start/complete construction.»

    The form (MODULE1.fmb) that I am trying to compile is in my directory on the server.

    What I did:

    Export ORACLE_HOME = / / oracle, Oracle, Middleware, Oracle_FRHome1

    Export ORACLE_INSTANCE = / / oracle, Oracle, Middleware, asinst_1

    Export FORMS_PATH = / / oracle/Oracle/Middleware/Oracle_FRHome1/forms: / u01/oracle/Oracle/Middleware/asinst_1/FormsComponent/forms

    using the command line to compile the form below:

    Oracle/Oracle/Middleware/Oracle_FRHome1/bin/frmcmp userid = module_type module = MODULE1.fmb < username > = form compile_all = yes window_state = minimize

    Thank you

    Lucile Dutta.

    (1) create new folder in unix

    2) put your FMC to this folder

    (3) copy $ORACLE_HOME/forms/templates/scripts/frmcmp_batch.sh to this folder

    4) add to frmcmp_batch.sh:

    Export TERM = vt220

    Export ORACLE_TERM = vt220

    (5) brand: chmod + x frmcmp_batch.sh

    (6) set your env variables: TNS_ADMIN ORACLE_HOME, ORACLE_INSTANCE,.

    (7) compile form you in this folder with:

    userid = set./frmcmp_batch.sh = no module = module_type = window_state = minimize compile_all = yes

    for example:

    lot of userid=scott/tiger@hr de./frmcmp_batch.sh = no module_type module = test.fmb = form window_state = minimize compile_all = yes

    Concerning

  • Cannot close the custom form R12.2.3

    Hi all

    I built a custom form in Oracle Forms Builder 10.1.2.0.2, and I registered it in Oracle EBS R12.2.3.

    My problem is that when I open the app, it is impossible to close.

    I changed the code in APP_STANDARD. CLOSE_WINDOW where I put in the IF statement following

    WND = "XXMET_HR_INDV_PERFORMANCE."

    XXMET_HR_INDV_PERFORMANCE is the name of the window, canvas and datablock.


    I also put the following code in KEY - F4, KEY-OUTPUT triggers: app_custom.close_window ('XXMET_HR_INDV_PERFORMANCE');


    In trigger PREFORM, I put: app_window.set_window_position ('XXMET_HR_INDV_PERFORMANCE', 'XXMET_HR_INDV_PERFORMANCE');


    I'm missing something but I do not know what exactly...


    Any ideas?


    Kind regards

    Stoyanov



    Solution found! The FMC has been compiled through the Oracle Forms Builder(not sure this is wrong). When I compiled from the server - all works well

    Kind regards

    Stoyanov

  • Change the mask of the executing (Oracle forms 6i) date field format

    Hello

    I use Oracle forms 6i. I have a domain where I use to store dates. I need to change the format mask of this date the runtime field.
    Y at - it no set_item_property built in that I can use to achieve this?


    Kind regards
    Bet.

    Published by: 1009523 on June 3, 2013 11:11

    Part 2, help information on the Format mask item property; you will need to make sure that you set the property correctly.

    Sorry, I had to drill two answers but my first attempt surpassed the eligible characters in an answer ;-)

    Format Mask property
    Description
    
    Specifies the display format and input accepted for data in text items.
    Applies to  text item
    Set  Form Builder, programmatically
    
    Refer to Built-in
    
    n     GET_ITEM_PROPERTY
    n     SET_ITEM_PROPERTY
    
    Required/Optional  optional 
    
    Usage Notes
    
    Valid format masks for character strings, numbers and dates are described in the following tables.
    Character Strings
    The following table describes valid format masks for character strings. 
    
    Element     Example     Description
    FM     FMXX99     Fill mode:  accept string as typed, do not right justify.  Allows end user input string to be shorter than the format mask.
    X     XXXX     Any alphabetic, numeric, or special character.  End user input string must be exact length specified by format mask.
    9     9999     Numeric characters only.  End user input string must be exact length specified by format mask.
    A     AAAA     Alphabetic characters only.  End user input string must be exact length specified by format mask.
    Character String Examples
    
    Format Mask     Description
    XXAA     Will accept: --ab, abcd, 11ab; will not accept: --11, ab11, or ab--(must use XX to accept hyphens and other special characters).
    XXXX     Will accept any combination of alphabetic, numeric, or special characters: --ab, abcd, 11ab, --11, ab11, or ab--.  Will accept 1234 or abcd; will not accept 123 or abc.  (To accept input string shorter than mask, use FMXXXX.)
    FMXX99     Will accept ab12, ab1, ab followed by two spaces; will not accept 12ab or abcd.  (To produce the Form Builder Version 3.0 Alpha datatype, use FMAAAAAA.)
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them. 
    
    NUMBERS
    
    The following table describes valid format masks for numbers.
    
    Element     Example     Description
    9     9999     Number of nines determines display width.  Any leading zeros will be displayed as blanks.
    0     0999     Display leading zeros.
    0     9990     Display zero value as zero, not blank.
    $     $9999     Prefix value with dollar sign.
    B     B9999     Display zero value as blank, not "0".
    MI     9999MI     Display "-" after a negative value.
    PR     9999PR     Display a negative value in .
    comma     9,999     Display a comma in this position.  For correct behavior in multilingual applications, substitute G to return the appropriate group (thousands) separator.
    period     99.99     Display a decimal point in this position. For correct behavior in multilingual applications, substitute D to return the appropriate decimal separator.
    E     9.999EEEE     Display in scientific notation (format must contain exactly four "E"s).
    FM      FM999     Fill mode: accept string as typed, do not right justify.
    n     When you mask a number with nines (9), Form Builder adds a space in front of the number to accommodate the plus (+) or minus (-) sign.  However, since the plus sign is not displayed, it appears as if Form Builder adds a space in front of the number.  (The minus sign is displayed.)
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them. 
    
    NUMBER Examples
    
    Format Mask     Description
    FM099"-"99"-"9999     Displays the social security number as formatted, including hyphens, even if end user enters only nine digits.To create a Social Security column, create an 11-character column, set to fixed length, with a format mask of 099"-"99"-"9999.  This mask will accommodate Social Security numbers that begin with zero, accepting 012-34-5678 or 012345678 (both stored as 012345678).
    99999PR     Accepts -123; reformats as <123>.
    999MI     Accepts -678; reformats as 678-.
    9.999EEEE     Displays as 1.00E+20.
    How Forms handles length mismatches
    
    If a runtime user enters a numeric string that exceeds the format mask specification, the value will be rejected.  For example:
    
    Format Mask     User enters     Result
    99.9     321.0     Invalid
    99.9     21.01     Invalid
    99.9     21.1     21.1
    99.9     01.1     1.1
    In contrast, if a numeric value fetched from the database exceeds the format mask specification for its display field, the value is displayed, but truncated, with rounding, to fit the mask.  (The item itself within the Forms application retains its full value.)  For example, if the database held the value 2.0666, and the format mask was 99.9, the value displayed to the user would be 2.1.  However, the value of the item within the form would be the full 2.0666. 
    
    Dates
    
    The following table describes valid format masks for dates.
    
    Element     Description
    YYYY or SYYYY     4-digit year; "S" prefixes "BC" date with "-".
    YYY or YY or Y     Last 3, 2, or 1 digits of year.
    Y,YYY     Year with comma in this position.
    BC or AD     BC/AD indicator.
    B.C. or A.D.     BD/AD indicator with periods.
    RR     Defaults to correct century.  Deduces the century from a date entered by comparing the 2 digit year entered with the year and century to which the computer's internal clock is set.   Years 00-49 will be given the 21st century (the year 2000), and years from 50-99 will be given the 20th century (the year 1900).
    MM     Month (01-12; JAN = 01).
    MONTH     Name of month, padded with blanks to length of 9 characters.
    MON     Name of month, 3-letter abbreviation.
    DDD     Day of year (1-366).
    DD     Day of month (1-31).
    D     Day of week (1-7; Sunday=1).
    DAY     Name of day, padded with blanks to length of 9 characters.
    DY     Name of day, 3-letter abbreviation.
    J     Julian day; the number of days since January 1, 4712 BC.
    AM or PM     Meridian indicator.
    A.M. or P.M.     Meridian indicator with periods.
    HH or HH12     Hour of day (1-12).
    HH24     Hour of day (0-23).
    MI     Minute (0-59).
    SS     Second (0-59).
    SSSSS     Seconds past midnight (0-86399).
    /. , .     Punctuation is reproduced in the result.
    "..."     Quoted string is reproduced in the result.
    FM     Fill mode: assumes implied characters such as O or space; displays significant characters left justified.  Allows end user input to be shorter than the format mask.  (Use in conjunction with FX to require specific delimiters.)
    FX     All date literals must match the format mask exactly, including delimiters.
    n     When you prefix a date mask with FX, the end user must enter the date exactly as you define the mask, including the specified delimiters:  
    
    Date Examples
    
    Format Mask     Description
    FXDD-MON-YY     Will accept 12-JAN-94, but will not accept 12.JAN.94 or 12/JAN/94 because the delimiters do not match the mask. Will not accept 12JAN94 because there are no delimiters.  Will accept 01-JAN-94 but will not accept 1-JAN-94.
    FMDD-MON-YY     Will accept 01-JAN-94.  Will also accept the entry of other delimiters, for example 01/JAN/94 and 01 JAN 94.  However, will not accept 01JAN94.  Will accept 1-JAN-94, converting it to 01-JAN-94.
    DD-MON-YY     Will accept 12.JAN.94, 12/JAN/94 or 12-JAN-94. Note: Any delimiter characters will be accepted, but if delimiters are omitted by the end user, this mask will interpret date characters as a delimiters.  Will accept 12-JAN94, (but will erroneously interpret as 12-JAN-04); but will not accept 12JAN94, because "AN" is not a valid month name.
    n     Use of a format mask only affects how the data looks.  Form Builder stores full precision, regardless of how the data is presented.
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them.
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").  Note, however, that double-quotes themselves cannot be used as a character.  In other words, trying to achieve output of DD"MM by specifying a mask of DD"""MM would not work.
    
    Format Mask     Description
    FMMONTH" "DD", "YYYY     Displays the text item data in the specified date format: JANUARY 12, 1994, including the appropriate blank spaces and comma.
    FMDD-MONTH-YYYY     Displays as 12-JANUARY-1994.
    DY-DDD-YYYY     Displays as WED-012-1994.  Note: for input validation including day of the week, a mask that allows specific determination of the day is required, such as this example or DY-DD-MM-YY.
    n     When you use day of the week formats, be sure that the data  includes day of the week information.  To avoid illogical masks, display also either the day of the year (1-366) or the month in some format. 
    
    Format Mask     Description
    DD-MONTH-YYYY     Displays as 12-JANUARY-1994.
    DY-DDD-YYYY     Displays as WED-012-1994.
    DY-DD-MON-YY     Displays as WED-12-JAN-94.  Be sure to include month.  Avoid masks such as DY-DD-YY, which could generate an error.
    NLS Format Masks
    
    The following table describes valid National Language Support (NLS) format masks.
    
    Element     Example     Description
    C     C999     Returns the international currency  symbol.
    L     L9999     Returns the local currency  symbol.
    D     99D99     Returns the decimal separator.
    G     9G999     Returns the group (thousands) separator.
    comma     9,999     Displays a comma in this position.
    period     9.999     Displays a decimal point in this position. Displays a decimal point in this position.
    NLS Format Mask Examples
    
    Format Mask     Description
    L99G999D99     Displays the local currency symbol, group, and decimal separators:  if NLS_LANG=American, this item displays as $1,600.00; if NLS_LANG=Norwegian, this item displays as Kr.1.600,00.
    C99G999D99     Displays the appropriate international currency symbol: if NLS_LANG=American, this item displays as USD1,600.00; if NLS_LANG=French, this item displays as FRF1.600,00. 
    

    Craig...

Maybe you are looking for