Missing calculate option for field properties

Just downloaded Forms Central yesterday on Mac, can't get text field properties to show option for calculation. There's just a small menu for label justification, text/number/etc, and a few other choices but nothing for calculations as shown on tutorial. I really need help finding the access to include calculations for fields.

In this case you can also use the simplified field notation, though it would be much easier if you were to change your field names. For example, the first row you want to sum the following two fields:
"REG. HRS" and "O.T. HRS"
Since the field names include the period and space characters these need to be escaped, so you'd have to enter the following:
REG\.\ HRS + O\.T\.\ HRS
If you were to change the names to:
"REG_HRS" and "OT_HRS"
The simplified field notation entry would be simply:
REG_HRS + OT_HRS
If you were to further refine the field naming scheme to something like:
Row 1:  R1.REG_HRS, R1.OT_HRS
Row 2:  R2.REG_HRS, R2.OT_HRS
A single script could be used for all of the rows, and called in the calculate event of each "DAILY TOTAL" field. I realize this may sound like jibberish at the moment, but if you want to pursue it, post again. In the mean time, the simplified field notation option will work.

Similar Messages

  • [SOLVED] BUG tech preview 2, missing ssh option for CVS

    Jdev 11g preview 2 is missing ssh option for CVS.
    Message was edited by:
    user598691
    Jdev was using External Executable option.

    Sorry, turns out, jdev started out trying to use an external executable.

  • Value not found in allowed list of options for field...

    Hi,
    I'm using RIDC on UCM 11g in order to checkin contents.
    UCM hosts different projects.
    I've the following problem: if somebody (from a different project) insert a new Information Field (e.g. xAnnoPubblicazione) of type Integer - Option List - Select List Validated and it does not make a default value for this field, when I perform checkin using RIDC, it fails with the error:
    "oracle.stellent.ridc.protocol.ServiceException: Content item 'UCMRE010132' was not successfully checked in. Value not found in allowed list of options for field 'xAnnoPubblicazione'.
    How can I solve this issue? what's the recommended way?
    Thank you very much.
    Best regards,
    S.

    In the database language, you have created a NON NULL column and you are trying to insert a record with NULL value to the column. Of course, it cannot work.
    There are three options:
    - do not declare the field as NON NULL (that is, you option list has to contain 'blank' as a possible value)
    - provide the value on insert
    - provide the default value

  • Selection options for field display text instead of key

    Hi All,
    In the selection screen in my reports, when the user clicks on the selection options for one the fields to display the possible values they can use. Instead of the key the pop up box only displays the text for that field. This is an issue because one of the fields is equipment number and the user needs to be able to see the key not the descriptions. This is occurring in multiple reports and for multiple fields. I haven't been able to find anything in the infoobject properties or the query properties to change this.
    Please help!
    Edited by: Anthony Loh on Sep 29, 2010 10:57 PM

    Hi Anthony,
    Cud u pls check in backend how it is created ...
    RSA1>Mdeling>IO Properties>Second tab BEx properties>Display-->it shud be Key and not text...
    Check this and come back ..
    Rgds
    SVU123

  • Select Options for Field

    Hi all,
    I have a requirement to make a select options low field disable and high field editable.
    Can anyone guide me on this.......!!!
    Awiting u r reply.
    Regards,
    Rashmi

    you write the code under "at-selection-screen output" event.....make one loop on screen....and make the screen enable & disable as you wish..
    ELECTION-SCREEN BEGIN OF BLOCK b1 .
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT 40(25) text-010  .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-002 FOR FIELD pernr.
    PARAMETERS pernr TYPE pa0001-pernr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-008 FOR FIELD ename.
    PARAMETERS ename TYPE pa0001-ename.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-003 FOR FIELD persg.
    PARAMETERS persg TYPE pa0001-persg.
    SELECTION-SCREEN COMMENT 45(15) text-009 FOR FIELD werks.
    PARAMETERS werks TYPE pa0001-werks.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-004 FOR FIELD persk.
    PARAMETERS persk TYPE pa0001-persk.
    SELECTION-SCREEN COMMENT 45(15) text-005 FOR FIELD kostl.
    PARAMETERS kostl TYPE pa0001-kostl.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-006 FOR FIELD orgeh.
    PARAMETERS orgeh TYPE pa0001-orgeh.
    PARAMETERS orgehtxt TYPE person-orgeh_txt .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) text-007 FOR FIELD plans.
    PARAMETERS plans TYPE pa0001-plans.
    PARAMETERS planstxt TYPE person-plans_txt .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN.
        IF screen-name = 'ENAME'
        OR screen-name = 'PERSG'
        OR screen-name = 'PERSK'
        OR screen-name = 'KOSTL'
        OR screen-name = 'WERKS'
        OR screen-name = 'ORGEH'
        OR screen-name = 'PLANS'
        OR screen-name = 'ORGEHTXT'
        OR screen-name = 'PLANSTXT'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      LOOP AT SCREEN.
        IF screen-name = 'ORGEHTXT'
        OR screen-name = 'PLANSTXT'.
          screen-output = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Edited by: Arunima Rudra on Jan 8, 2009 5:39 PM

  • Missing select-options for kna1-kunnr

    Hi,
    Has anybody ever come across this before ?
    I've modified a program to add a new select options for kna1-kunnr and added a bit of code that processes the value entered.
    In "development" it all tested OK and the program was transported up to "test".
    In "test" the users tested and everything was OK.
    The program was eventually transported up to "production" but when I run it in production the select-options for kna1-kunnr does not appear on the selection screen ? However, the when I run the program the additional bit of code that I also included does actually execute.
    I haven't been able to look at the code yet because SE38 and SE80 are disabled in "production".
    It sounds to me that the selection screen has somehow not generated correctly when the program was transported into production but the transport logs didn't display any errors or warnings. I have also had the program retransported into production but I still can't see the select-options.
    There are no variants for the program and I'm not getting any security issues on the SU53.
    Any help would be gratefully received.
    Thanks
    Stan

    Hi,
    You can try system->staus->program name. Double click on program name and see if you enter abap editor. You can check your code there.
    Or else just create another transport in development and send to production
    Thanks,

  • How to see the dropdown option for field of a table during selection

    Hello,
    I am adding a new custom field in the table. Now when user goes to the screen after clicking the content button icon in se11, he sees all fields for selection.
    That custom field is one character field. I want the user to see P and S option when he hits F4 (Dropdown).
    How can I achieve this ?
    Regards,
    Rajesh.

    hi check this..
    report .
    TYPE-POOLS : vrm.
    TABLES:vbak,vbap.
    DATA : v(80) TYPE c.
    DATA: wa_vbak TYPE vbak,
          it_vbak TYPE vbak OCCURS 0 WITH HEADER LINE,
          wa_vbap TYPE vbap,
          it_vbap TYPE vbap OCCURS 0 WITH HEADER LINE.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values ,
            v_count  TYPE i,
            l_value LIKE LINE OF li_list.
    PARAMETERS: p_test(20) AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.
    INITIALIZATION.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM get_data.
      LOOP AT it_vbak.
        l_value-key =  it_vbak-vbeln .
        l_value-text = it_vbak-vbeln .
        APPEND l_value TO li_list.
      ENDLOOP.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'P_TEST'
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    AT SELECTION-SCREEN ON P_TEST.
      clear : li_list , li_list[].
      SELECT vbeln
             matnr
             meins
             FROM vbap
             INTO CORRESPONDING FIELDS OF TABLE it_vbap
             WHERE vbeln = p_test.
    START-OF-SELECTION.
      SELECT vbeln
             matnr
             meins
             FROM vbap
             INTO CORRESPONDING FIELDS OF TABLE it_vbap
             WHERE vbeln = p_test.
      LOOP AT it_vbap.
        WRITE :/ it_vbap-vbeln, it_vbap-matnr,it_vbap-meins.
      ENDLOOP.
    *&      Form  get_Data
          text
    -->  p1        text
    <--  p2        text
    FORM get_data .
      SELECT  vbeln
              FROM vbak
              INTO  CORRESPONDING FIELDS OF TABLE it_vbak.
    ENDFORM.                    " get_Data
    regards,
    venkat

  • How to calculate total for field for particular day. in smart forms

    hi,
             pls help in this problem,
    how to calculate cumulative totals for the particular field in samrtforms

    Hi ,
    Either you can calculate the sum in driver program with
    Loop at where Condition .
    Sum the required field .
    endloop .
    Then pass it to smartforms
    Or
    Double Click on table node .
    In the conditions tab give the required condition .
    select calculation tab.
    In operation select Total , in field name give the name of the field you want to sum
    and in targer field name specify the name of the field that should contain the result .
    To convert the total in to words use the function module in program lines
    CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
    EXPORTING
    amt_in_num = w_total
    IMPORTING
    AMT_IN_WORDS = w_total_words
    EXCEPTIONS
    DATA_TYPE_MISMATCH = 1
    OTHERS = 2
    Regards

  • Smartforms: Output Options for Field Contents not working within table

    Hello,
    to display an amount and its unit I am using &GS_MM_IT_GEN-MENGE(R)& &GS_MM_IT_GEN-MEINS& with a line of a table. Unfortunatly it seams that the output option "R" (right-justified) is not working with the table context. Has anyone an idea, what to do?
    Thanx,
    Peter

    Dear all,
    thank you for your suggestions. I have found out, that the output option work pretty well as described in the documentation. The are output options of a field and not of a column! To get a right justified column, I had to change the attribute of the parapraph assigned to the column.
    Regards
    Peter

  • In a document library, offering only certain options for fields based on others selected

    Hi, I have a document library, and when someone uploads an item to that library, they are presented with a form to select properties. I have 4 properties I want them to select (really 6, but the first two are Name and Title). The issue is that these 4 properties
    depend on each other in this way:
    1st property: I use a lookup to offer 4 choices, "A" "B" "C" or "D" in a dropdown.
    2nd property: I want to offer the user a choice of 4 items in a dropdown, based on what they chose for the 1st property. (if they chose "A", then offer "1" "2" "3" or "4", if they chose
    "B" offer "5" "6" "7" or "8", etc.)
    3rd property: same thing as above, but now based on what they chose for the 2nd property (if they chose "1", offer "a" "b" "c" or "d", if "5" offer "s" and "t")
    4th property: again based on 3rd property.
    How can I do this? can I write some sort of custom form that can do this?

    What you're trying to do is commonly refererd to as 'Cascading Drop Downs'. These are a common lack in SharePoint.
    There are lots of ways to do that, my favourite to use jQuery or Javascript:
    http://www.sharepointboris.net/js/spcd/

  • Javadoc bug or missing an option for class extending AbstractTableModel

    Hi Everybody,
    I am reviewing my javadoc before submission of my SCJD assignment and I noticed
    for my JTable model class HotelRoomTableModel that extends AbstractTableModel
    for all the overwritten methods like getValueAt(), getColumnCount(), getRowCount()
    that implement the TableModel interface where I am using javadoc comments of the form:
    * {@inheritDoc}
    @Override the HTML generated javadoc I see in my browser doesn't show anything
    for these methods other than the name and the signature of the method.
    Is that normal? Or is it a bug? Or perhaps did I miss anything?
    I would hope that it would show something like:
    "Specified by: methodName in interface InterfaceName"
    or
    "Overrides: methodMame in class ClassName".
    My environment:
    [auyantepui]</home/morillo/src/java/scjd/submission>% java -version
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
    [auyantepui]</home/morillo/src/java/scjd/submission>% cat /etc/release
                           Solaris 10 5/09 s10s_u7wos_08 SPARC
               Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                            Use is subject to license terms.
                                 Assembled 30 March 2009
    [auyantepui]</home/morillo/src/java/scjd/submission>% uname -a
    SunOS auyantepui 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
    [auyantepui]</home/morillo/src/java/scjd/submission>%Any ideas?
    Thanks,
    Carlos.

    He quoted the Javadoc which says you have to have the source code available for the Javadoc you are trying to inherit. All I am doing here is restating that, which really is pointless and valueless.It needs the source so that it can copy the documentation you want to copy, which I would have thought was obvious in the first place >
    ejp, there is no need to be such an arrogant jerk responding. It is not my fault if you are having a bad day.
    I wrote above:
    TableModel interface is in javax.swing.table. It is not part of my source code.I am only asking for help and I thought that was the purpose of this forum.
    I am not here to get a smart ass response with such an arrogance and attitude.

  • Format Tab  - Field Properties (Special)

    The format tab for field properties - Special - gives a phone number option which allows 10 numeric characters or spaces. UK Telephone number format is 11 numeric characters. Would be useful to have a pre defined UK phone format. If you try and create one using the 'arbitary mask' option - that does not permit a mix of numeric values or spaces - it only allows numeric values.

    If one looks at the code Acrobat uses for formatting one would see that the JavaScript uses RegExp object to construct the needed pattern to test keystrokes, validation, and formatting. So it is possible for one to either field level or document level functions for other types of data to collect.
    Beginning JavaScript for Adobe Acrobat has 3 chapters dealing with this subject.

  • Dictionary missing all options but Wikipedia

    I just installed Leopard on my iMac G5 and Powerbook G4. Both Dictionaries are version 2.0. On the iMac I have 4 dictionary choices (New Oxford, Oxford Thesaurus, Apple, and Wikipedia), whereas on the Powerbook there is just Wikepedia, which only works when online.
    Any ideas why this difference, given the identical upgrade?
    Thanks much,
    John

    Thanks. I just tried updating Quicktime and you were right that I did need to update. But unfortunately it has not solved the problem. I am still missing all options for encoding in DVD. Media Encoder also failed to export .h264 for Vimeo this morning - created some very messy-looking files. I'm not sure what is going on, but I'd love it if someone could help me fix it. I'm (of course) in the middle of a big project and supposed to deliver in DVD.
    Thanks
    Carolyn

  • Select-options for date field.

    Hi all,
    i need to give select options for Date field.How can i give that.
    Thanks & Regards
    Ravi.

    Hi Ravi,
    Use the Component WDR_SELECT_OPTIONS to include select options in Web Dynpro ABAP. Follow these steps:
    1. In your Component , "Used Componet" tab add Component WDR_SELECT_OPTIONS . Component Use can be any name that you want to give, eg SELECT_OPTIONS
    2. Go to the View where you want to include the Date Select Options. I am assuming that you already have an Attribute of Type DATS in your context.
    3. View: Properties Tab:Create Controller Usage and select
    SELECT_OPTIONS     WDR_SELECT_OPTIONS                   
    SELECT_OPTIONS     WDR_SELECT_OPTIONS     INTERFACECONTROLLER
    4. View Layout Tab:Include a View Container. In this view container we will show the Date Select Options.
    5. View Attributes Tab: Create Following two attributes:
    M_HANDLER type IF_WD_SELECT_OPTIONS
    M_WD_SELECT_OPTIONS type IWCI_WDR_SELECT_OPTIONS
    6: View Methods Tab: Create a method eg CREATE_SELECTION_SCREEN. Call this method in the WDDOINIT of the view.
    7:CREATE_SELECTION_SCREEN: Write following Code:
    * Data Declaration
      data:
            lt_range_table TYPE REF TO DATA.
      data:
            lr_componentcontroller TYPE REF TO IG_COMPONENTCONTROLLER,
            lr_componentusage TYPE REF TO IF_WD_COMPONENT_USAGE.
    * Execution
    *  Create Used Component
      lr_componentusage = wd_this->wd_cpuse_select_options( ).
      if LR_COMPONENTUSAGE->HAS_ACTIVE_COMPONENT( ) is initial.
        lr_componentusage->create_component( ).
      endif.
    *  Get pointer to interface controller of select options
      wd_this->M_WD_SELECT_OPTIONS = wd_this->wd_cpifc_select_options( ).
    * initialize selction screen
      wd_this->M_HANDLER = wd_this->M_WD_SELECT_OPTIONS->init_selection_screen( ).
    *  Create Range Table for: Date
      CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
        EXPORTING
          I_TYPENAME     = 'DATS'
        RECEIVING
          RT_RANGE_TABLE = lt_range_table.
    * Add Selection Field for: Date
      CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
        EXPORTING
          I_ID                         = '<name of date attribute in the context>'
    *      I_WITHIN_BLOCK               = MC_ID_MAIN_BLOCK
    *      I_DESCRIPTION                =
    *      I_IS_AUTO_DESCRIPTION        = ABAP_TRUE
          IT_RESULT                    = lt_range_table
    *      I_OBLIGATORY                 = ABAP_FALSE
    *      I_COMPLEX_RESTRICTIONS       =
    *      I_USE_COMPLEX_RESTRICTION    = ABAP_FALSE
    *      I_NO_COMPLEX_RESTRICTIONS    = ABAP_FALSE
    *      I_VALUE_HELP_TYPE            = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE
    *      I_VALUE_HELP_ID              =
    *      I_VALUE_HELP_MODE            =
    *      I_VALUE_HELP_STRUCTURE       =
    *      I_VALUE_HELP_STRUCTURE_FIELD =
    *      I_HELP_REQUEST_HANDLER       =
    *      I_LOWER_CASE                 =
    *      I_MEMORY_ID                  =
    *      I_NO_EXTENSION               = ABAP_FALSE
    *      I_NO_INTERVALS               = ABAP_FALSE
    *      I_AS_CHECKBOX                = ABAP_FALSE
    *      I_AS_DROPDOWN                = ABAP_FALSE
    *      IT_VALUE_SET                 =
    *      I_READ_ONLY                  = ABAP_FALSE
    *      I_DONT_CARE_VALUE            =
    *      I_EXPLANATION                =
          I_TOOLTIP                    = 'Select Date'.
    8: To Fetch Data entered in the selection field, write following code on action of button click:
      data:
            lt_date type REF TO DATA.
    FIELD-SYMBOLS:
                     <fs_date> TYPE table.
      *  retrieve Date from Select Options
      CALL METHOD WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD
        EXPORTING
          I_ID           = '<attrib_name>'
        RECEIVING
          RT_RANGE_TABLE = lt_date.
    *  assign Date Field Symbol
      ASSIGN lt_date->* to <fs_date>.
    9: Windows Window Tab: In the View Conatiner, embed the WND_SELECTION_SCREEN view from SELECT_OPTIONS component Usage of  WDR_SELECT_OPTIONS component.
    Regards,
    Reema.

  • Descriptor exception for "missing mapping for field"

    I am using TopLink 9.0.3, oracle database 9, JVM 1.4.
    I got one DescirptorException that states that the descriptor misses mapping for one database field.
    However I have such field mapped through workbench.
    The is the exception.
    -----------------exception-----------------------
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-45] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Missing mapping for field [DatabaseField(DEVICEDB.DEVICEID)].
    DESCRIPTOR: Descriptor(ContactDB --> [DatabaseTable(DEVICEDB)])
    at oracle.toplink.exceptions.DescriptorException.missingMappingForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractForeignKeyFromReferenceObject(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.executeBatchQuery(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractResultFromBatchQuery(Unknown Source)
    at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromBatchQuery(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.batchedValueFromRow(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(Unknown Source)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows(Unknown Source)
    at oracle.toplink.queryframework.ReadAllQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(Unknown Source)
    at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(Unknown Source)
    at oracle.toplink.indirection.IndirectList.buildDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.getDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.isEmpty(Unknown Source)
    The is my mapping file for DeviceDB and ContactDB. The ContactDB is a subclass of the DeviceDB.
    Clearly from the mapping below, the DeviceDB has a mapping for the database filed DeviceID.
    The ContactDB is a subclass of DeviceDB. Therefore the ContactDB also should have a mapping for
    database field deviceID
    ----------------------- partial mapping file for DeviceDB----------
    public Descriptor buildDeviceDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(DeviceDB.class);
         descriptor.addTableName("DEVICEDB");
         descriptor.addPrimaryKeyFieldName("DEVICEDB.DBID");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("DEVICEDB.CLASS");
         descriptor.getInheritancePolicy().addClassIndicator(ContactDB.class, "c");
         descriptor.getInheritancePolicy().addClassIndicator(ContentDB.class, "f");
         OneToOneMapping deviceMapping = new OneToOneMapping();
         deviceMapping.setAttributeName("device");
         deviceMapping.setReferenceClass(Device.class);
         deviceMapping.setRelationshipPartnerAttributeName("databases");
         deviceMapping.dontUseIndirection();
         deviceMapping.readOnly();
         deviceMapping.addForeignKeyFieldName("DEVICEDB.DEVICEID", "DEVICE.DEVICEID");
         descriptor.addMapping(deviceMapping);
         return descriptor;
    ---------------------------partial mapping for ContactDB --------------
    public Descriptor buildContactDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(com.access.sync.business.contact.ContactDB.class);
         descriptor.addTableName("DEVICEDB");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setParentClass(com.access.sync.framework.systemObj.DeviceDB.class);
    Any help is really appreciated.
    jason

    Your 1-1 mapping must not be read-only.
    deviceMapping.readOnly();Read-only means the mapping will not write the field, and should only be used when another mapping does write the field.

Maybe you are looking for

  • Display BLOB (image) column in (interactive) report

    Hi, I have a field called "picture" in my table "details" which is of type BLOB. i also have a field for "MIMETYPE" and "filename" i additionally have a "name" and "description" columns which i need to display along with the picture as columns in a r

  • What is the best way to create an Hours of operation field?

    I'm creating a form in adobe central forms to gather information about my existing clients' business. One of the things I'd like to know is their hours of operation. I'm a real fan of the way Google does it: multiple labled drop downs in a table. How

  • How to delete the default dashboard of 'My Dashboard'

    I first added some contents on the default dashboard "My Dashboard", then I created a new dashboard "Products". After have done so, everytime when I log in to the system (Analytics) as Administrator, the dashboard for my first sight is "My Dashboard"

  • Encrypting data in sqlite

    Dear reader, Currently I am playing a bit with Flex 3 Beta 2 and I am looking how to protect data in sqlite database. It looks it is very simple to integrate Flex AIR application with database but all informations stored in database are unencrypted.

  • Using javac and XP

    Hello, I am using Windows XP Home Edition and j2sdk1.4.1_01. I am getting the following error message upon trying to use javac from the command prompt: 'javac' is not recognized as an internal or external command, operable program or batch file. Belo