Allocation of one field value to another filed

Hi
i'm having fileds as
CMC no
Area Code
Division
Demand
for example
CMC no = RD/FD
Area code =1
Division = 2
after entering this values
in DEMAND FIELD i had written Key next item trigger...in this trigger the code for concatenating values as
select AREA,
CONCAT('T',concat(:WATER_CON.WATER_AREA,CONCAT(:WATER_CON.WATER_DIVISION,WCMC)+1))
into :global.AREA,TEMPNO
from cmc_temp_no
where AREA=:WATER_CON.WATER_AREA;
after this i got a value as 'T1200001'
this value is allocated for the DEMAND field as like this
     :WATER_CON.DEMAND :=TEMPNO;
now after calculating this concatenated value i want to assign this value to the CMC no instead of assigning to the DEMAND Field
so please tell me what should i do

in the CMC NO field i have the trigger KEY-NEXT-ITEM
in that one i had written the code is
DECLARE
     W_COUNT NUMBER;
     W_COUNT1 NUMBER;
     ALERT VARCHAR2(50);
     CCNAME VARCHAR(75);
     CDNO VARCHAR(75);
     CPNO VARCHAR(75);
     CSNAME VARCHAR(75);
     CSCODE VARCHAR2(20);
     CLOC VARCHAR(75);
     CPIN NUMBER;          
     C NUMBER;
BEGIN
     IF :WATER_CON.WATER_CMC_NO='RD/FD' THEN     
GO_ITEM('WATER_CON.WATER_NAME');
     ELSE
          SELECT COUNT(*) INTO W_COUNT FROM APPS.RA_CUSTOMERS WHERE CUSTOMER_NUMBER=:WATER_CON.WATER_CMC_NO;
     if W_COUNT=0 then
               SET_ALERT_PROPERTY('DALERT',ALERT_MESSAGE_TEXT,' RECORD NOT FOUND');
     ALERT:=SHOW_ALERT('DALERT');
          GO_ITEM('WATER_CON.WATER_GROUP');
     ELSE          
               SELECT CUSTOMER_NAME INTO CCNAME FROM APPS.RA_CUSTOMERS WHERE CUSTOMER_NUMBER=:WATER_CON.WATER_CMC_NO;
               :WATER_CON.WATER_NAME:=CCNAME;
               :WATER_CON.WATER_AREA:=SUBSTR(:WATER_CON.WATER_CMC_NO,1,2);
               :WATER_CON.WATER_DIVISION:=SUBSTR(:WATER_CON.WATER_CMC_NO,3,3);     
     END IF;
          SELECT COUNT(*) INTO W_COUNT1 FROM XXCMW.CMW_BC_CUSTOMER_ADDR_HISTORY WHERE CUSTOMER_NUMBER=:WATER_CON.WATER_CMC_NO;
     if W_COUNT1=0 then
          MESSAGE('ADDRESS WAS NOT FOUND');
          :WATER_CON.WATER_NAME:='';
          :WATER_CON.WATER_DOOR_NO:='';
          :WATER_CON.WATER_PLOT_NO:='';
          :WATER_CON.WATER_STREET:='';
          :WATER_CON.WATER_STREET_CODE:='';
          :WATER_CON.WATER_LOCATION:='';
          :WATER_CON.WATER_PINCODE:='';
          GO_ITEM('WATER_CON.WATER_GROUP');
     ELSE
          SELECT NEW_DOOR_NUMBER,STREET_NAME,STREET_CODE,LOCATION,PIN_CODE INTO CDNO,CSNAME,CSCODE,CLOC,CPIN FROM XXCMW.CMW_BC_CUSTOMER_ADDR_HISTORY WHERE CUSTOMER_NUMBER=:WATER_CON.WATER_CMC_NO;
               :WATER_CON.WATER_DOOR_NO:=CDNO;
          --     :WATER_CON.WATER_PLOT_NO:=CPNO;
               :WATER_CON.WATER_STREET:=CSNAME;
                    :WATER_CON.WATER_STREET_CODE:=CSCODE;
               :WATER_CON.WATER_LOCATION:=CLOC;
               :WATER_CON.WATER_PINCODE:=CPIN;     
               :WATER_CON.WATER_AREA:=SUBSTR(:WATER_CON.WATER_CMC_NO,1,2);
               :WATER_CON.WATER_DIVISION:=SUBSTR(:WATER_CON.WATER_CMC_NO,3,3);     
                    GO_ITEM('WATER_CON.WATER_GROUP');
     END IF;
          :WATER_CON.WATER_AREA:=SUBSTR(:WATER_CON.WATER_CMC_NO,1,2);
          :WATER_CON.WATER_DIVISION:=SUBSTR(:WATER_CON.WATER_CMC_NO,3,3);
               :WATER_CON.WATER_AREA1:='';
     IF      :WATER_CON.WATER_AREA='10'THEN
     IF :WATER_CON.WATER_DIVISION>=142 AND :WATER_CON.WATER_DIVISION<=150 THEN
                    :WATER_CON.WATER_AREA1:='A';     
               ELSE IF :WATER_CON.WATER_DIVISION>=151 AND :WATER_CON.WATER_DIVISION<=156 THEN
     :WATER_CON.WATER_AREA1:='B';
     ELSE IF :WATER_CON.WATER_DIVISION>=923 AND :WATER_CON.WATER_DIVISION<=928 THEN
     :WATER_CON.WATER_AREA1:='A';
               END IF;
               END IF;
               END IF;
               END IF;
     END IF;
     END;
IN THE DEMAND field i have key nest item trigger
in this trigger i had generated TEMPno
not in the CMC no field
the code in the DEMAND field is
declare
     tempno varchar2(30);
begin
     IF :WATER_CON.WATER_CMC_NO='RD/FD' THEN     
     select AREA,CONCAT('T',concat(:WATER_CON.WATER_AREA,CONCAT(:WATER_CON.WATER_DIVISION,WCMC)+1)) into :global.AREA,TEMPNO from cmc_temp_no
     where AREA=:WATER_CON.WATER_AREA;
MESSAGE(TEMPNO);
     :WATER_CON.WATER_CMC_GROUP :=TEMPNO;
     end if;
     end;
     GO_ITEM('WATER_CON.WATER_flat_dem');
please tel me how can i assign this demand field to CMCno field after this trriger fired
Regards
Ranga

Similar Messages

  • How to drill down another one report on one field value of one row

    Hi,
    I have two reports that can link together on one field of respective database query command. The effect i want to reach is that when user clicks this field value on some row of one report, which i call source object, another report, target object, would use this value as input parameter and the page would jump to this linked report. I can see Format Editor provides Hyperlink feature when one field is edited, but i don't know how to associate another report as what i described here.
    What if one the following conditions is met:
    1.one of two objects, source object, is one chart object
    2.target object is  one chart object
    3.two objects are both chart objects
    Note: two objects is separately from different reports.
    Additionally, is it possible to code for hyperlink functionality under both .NET WinForm and WebForm? what if under RDC?
    Thank you
    Zhi
    Edited by: zhi li on Sep 24, 2008 11:53 AM
    Edited by: zhi li on Sep 24, 2008 11:57 AM
    Edited by: zhi li on Sep 24, 2008 11:58 AM

    I don't know if you can use the hyperlink to call a subreport but the following has worked for me in Crystal 10:
    1. In your main report create a group on the field you want to pass to the subreport.
    2. In the Group Footer, use the "Insert Section below" menu command so that you have a Group Footer 1a and a Group Footer 1b.
    3. Put your table fields in the Group Footer 1b section (this would be similar to your Details data).
    4. Put the sub report in the Group Footer 1a section. Set up the links to the subreport from a table field in your main report.
    5. Right-click on the sub-report, select "Format Sub-report". Click on the "x-2" button to the right of the Suppress option and enter "DrillDownGroupLevel = 0" in the "Formula Workshop-Formula Format Editor-Suppress" window and save it.
    When you double-click on your data field (i.e. the field in Group footer 1b) it should drill-down and run your subreport.

  • How to create an array in one field and have another field display certain elements from that array?

    I am making a form in Acrobat XI pro.
    In one text field, I created an array of several elements. I want other text fields to display certain elements from that array. For instance, one field should display the 3rd element, another field should display the 13th element, etc.
    The Javascript for making the array is very long, and so I don't want to have to re-calculate the array every single time (in order to reduce rendering time when I open the form on an iPad). This is why I'd like to only have to create the array once, and simply refer to it throughout the form.

    What code are you using to update the array currently? Are you completely rebuiding it when an element changes, or just changing specific elements for certain fields? I'm still not sure what exactly you are trying to do, but something like this in a document level script will create your array:
    var myArray;
    // Call 'updateArray' to initialize array
    updateArray();
    function updateArray() {
         // Code here to create/update array
         myArray = new Array();
         myArray[0] = "Value 1";
         myArray[1] = "Value 2";
         myArray[2] = "Value 3";
    Then, for each field that needs to update this array, you can add a call to 'updateArray()' in the appropriate event. This will rebuild the array completely; if you just want to update specific elements, then you can access them directly.

  • One field value missing in the spreadsheeet

    Hi All,
    I have created an ALV grid report, which displays proper output. All the headers and their field value are displayed properly in the ALV output.
    But when I select the option to download the output to the spreadsheet format by using the following option, it displays all the headers and their field value, except field value for only one column.
    Save List in file --> Local file --> Spreadsheet.
    Can some body please let me know what could me the problem?
    Regards,
    Reshma

    Hi Reshma,
    I hope the column is not added dynamically. I had faced this problem for dynamic columns.
    Also, you could try and download the internal table data using 'GUI_DOWNLOAD' just to cross check that you face the smae issue.
    Regards,
    Shyam

  • How to pass one lookup value to another lookups

    Hi All,
    I've two relational sources with a join condition,added lookup and kept join condition too.I've to pass this lookup value to another lookup.
    let me know how we can handle this in odi.
    Thanks

    If you don't use "expression in the SELECT clause" option, why don't you simply drag and drop your file datastores in your canvas and do a standard join?
    The result will be the same.
    See here for more details : Re: Lookup Vs Join

  • Sum one Field based on another's input

    I have a question. Is it possible to have a specific field populated with specific number based on the input of antother field. Example.  In Field #10  I have to input a number.  If the number is 1-365 it's an ( F) If the number is 366- 392 it's an ( D) if it's 393-460 its an (C) if it's 461-500 it's an ( B) if 501-700 it's an (A).  So In Field  #11  I want that to populate the Letter based on the input of the number input in field#10.  Is that possible in Javascript or How?
    Thank You in Advance

    Sure it's possible. The custom Calculate script for the text field could be:
    (function () {
        // Get the field value, as a number
        var val = +getField("Text10").value;
        // Set this field's value
        if (val < 366) {
            event.value = "F";
            return;
        if (val < 393) {
            event.value = "D";
            return;
        if (val < 461) {
            event.value = "C";
            return;
        if (val < 501) {
            event.value = "B";
            return;
        if (val < 701) {
            event.value = "A";
            return;
        // Default
        event.value = "";

  • Sql to break one field based on another column

    sample data :
    --DROP TABLE XXCNC.TEST_FREIGHT_CLASS;
    CREATE TABLE XXCNC.TEST_FREIGHT_CLASS
      ITEM_ID        NUMBER,
      UOM varchar2(3),
      FREIGHT_CLASS  VARCHAR2(250 BYTE)
    SET DEFINE OFF;
    Insert into XXCNC.TEST_FREIGHT_CLASS
       (ITEM_ID, UOM, FREIGHT_CLASS)
    Values
       (1, 'CS', '[CS|100|CREAM SUBSTITUTE O.T. MILK CREAM][EA|100|ITEMS TO BE REBOXED]');
    Insert into XXCNC.TEST_FREIGHT_CLASS
       (ITEM_ID, UOM, FREIGHT_CLASS)
    Values
       (2, 'EA', '[CS|100|SOLUBLE COFFEE|73725][EA|100|ITEMS TO BE REBOXED]');
    Insert into XXCNC.TEST_FREIGHT_CLASS
       (ITEM_ID, UOM, FREIGHT_CLASS)
    Values
       (3, 'CS', '[CS|150|LUGGAGE AND TRAVEL ACCESSORIES|187645-04][EA|100|ITEMS TO BE REBOXED]');
    Insert into XXCNC.TEST_FREIGHT_CLASS
       (ITEM_ID, UOM, FREIGHT_CLASS)
    Values
       (4, 'EA', '[EA|65|ITEMS TO BE REBOXED|NMFC#XXXXX][CS|60|FOOD ITEMS |12345  ]');
    Insert into XXCNC.TEST_FREIGHT_CLASS
       (ITEM_ID, UOM, FREIGHT_CLASS)
    Values
       (5, 'CS', '[EA|100|SHOWER CURTAINS AND ACCESSORIES][CS|60|ITEMS TO BE REBOXED]');
    COMMIT;
    desired result :
    ITEM    UOM     freight_class_code                                                             class     description                     code
    1     CS     [CS|100|CREAM SUBSTITUTE O.T. MILK CREAM][EA|100|ITEMS TO BE REBOXED]           100   CREAM SUBSTITUTE O.T. MILK CREAM   null
    2     EA     [CS|100|SOLUBLE COFFEE|73725][EA|100|ITEMS TO BE REBOXED]                       100   ITEMS TO BE REBOXED                73725
    3     CS     [CS|150|LUGGAGE AND TRAVEL ACCESSORIES|187645-04][EA|100|ITEMS TO BE REBOXED]   150   LUGGAGE AND TRAVEL ACCESSORIES     187645-04
    4     EA     [EA|65|ITEMS TO BE REBOXED|NMFC#XXXXX][CS|60|FOOD ITEMS |12345  ]               65    ITEMS TO BE REBOXED                NMFC#XXXXX
    5     CS     [EA|100|SHOWER CURTAINS AND ACCESSORIES][CS|60|ITEMS TO BE REBOXED]             60    ITEMS TO BE REBOXED                null
    using substr and instr I was able to extract data for one item_id, but since all the items have different freight_class_code, I dont know how to hit this problem.
    structure of freigh_class_code = [CS|...|.................|.....][EA|...|..................|....]
    Logic: for item=1 , if UOM = CS , get the values corresponding to CS in = [CS|100|CREAM SUBSTITUTE O.T. MILK CREAM] .
    print ... '100'  'CREAM SUB..........CREAM' and if there is no "|" after the description then print nullI would appreciate any help
    Thanks

    That's really poor design, storing multiple items in one column value like that. Any chance you can redesign the database to make it store the data properly?
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1 as item_id, 'CS' as uom, '[CS|100|CREAM SUBSTITUTE O.T. MILK CREAM][EA|100|ITEMS TO BE REBOXED]' as freight_class from dual union all
      2             select 2, 'EA', '[CS|100|SOLUBLE COFFEE|73725][EA|100|ITEMS TO BE REBOXED]' from dual union all
      3             select 3, 'CS', '[CS|150|LUGGAGE AND TRAVEL ACCESSORIES|187645-04][EA|100|ITEMS TO BE REBOXED]' from dual union all
      4             select 4, 'EA', '[EA|65|ITEMS TO BE REBOXED|NMFC#XXXXX][CS|60|FOOD ITEMS |12345  ]' from dual union all
      5             select 5, 'CS', '[EA|100|SHOWER CURTAINS AND ACCESSORIES][CS|60|ITEMS TO BE REBOXED]' from dual)
      6  --
      7  -- end of test data
      8  --
      9  select item_id, uom, freight_class
    10        ,regexp_replace(regexp_substr(class,'[^|]+',1,2),'\]') as class
    11        ,regexp_replace(regexp_substr(class,'[^|]+',1,3),'\]') as description
    12        ,regexp_replace(regexp_substr(class,'[^|]+',1,4),'\]') as code
    13  from (
    14        select item_id
    15              ,uom
    16              ,freight_class
    17              ,case when uom = substr(regexp_substr(freight_class,'\[.*?\]',1,1),2,2) then regexp_substr(freight_class,'\[.*?\]',1,1)
    18               else regexp_substr(freight_class,'\[.*?\]',1,2)
    19               end as class
    20        from t
    21       )
    22* order by item_id
    SQL> /
       ITEM_ID UOM FREIGHT_CLASS                                                                 CLASS DESCRIPTION                              CODE
             1 CS  [CS|100|CREAM SUBSTITUTE O.T. MILK CREAM][EA|100|ITEMS TO BE REBOXED]         100   CREAM SUBSTITUTE O.T. MILK CREAM
             2 EA  [CS|100|SOLUBLE COFFEE|73725][EA|100|ITEMS TO BE REBOXED]                     100   ITEMS TO BE REBOXED
             3 CS  [CS|150|LUGGAGE AND TRAVEL ACCESSORIES|187645-04][EA|100|ITEMS TO BE REBOXED] 150   LUGGAGE AND TRAVEL ACCESSORIES           187645-04
             4 EA  [EA|65|ITEMS TO BE REBOXED|NMFC#XXXXX][CS|60|FOOD ITEMS |12345  ]             65    ITEMS TO BE REBOXED                      NMFC#XXXXX
             5 CS  [EA|100|SHOWER CURTAINS AND ACCESSORIES][CS|60|ITEMS TO BE REBOXED]           60    ITEMS TO BE REBOXED

  • Values in one field based on another field in the paper parameter form.....

    Hi All,
    I have two fields in the parameter form. One named 'employee number' and the other named 'document number'. Now, there are multiple document numbers for every employee. I'd like the document numbers to be displayed automatically as an LOV or would like to give the user some help when the employee number is entered manually. Please let me know if this is possible in Oracle reports. I read somewhere that I'll have to call the values from the form. if that is the case. then please let me know how to go about it....
    Regards,
    Shri

    Hi Hari,
    Considering both Market Segment and Application fields are dropdown,
    1) define an event for the first dropdown in the get_p method ie., Market Segment field
    2) In the get_v method of the second dropdown get the value of hte 1st dropdown and filter your field accordingly
    Note: The reason for defining an event in (1) is just to do a server submit.. its actually act as a dummy event if you dont want to handle your logic here
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

  • Compare values of one field and populate another field

    Hi,
    I have a requirement something like this:
    Taking example of carrid and connid fields of table sflight.
    lets say carrid has values like AABB, CCDD etc in sflight table.
    Now i would like to read the first two characters of carrid's values(only AA of AABB or CC of CCDD) and based on this i want to populate connid. Any suggestions please?

    hi,
    if carrid + 0( 2 ) = 'AA'  ( first two letters..)
    try to use  offset function....
    rgds,
    raj

  • VBA Programing Question - Very Basic - One Field Maps to Another Field

    I have a MS Project schedule where I created some custom fields.  I have one custom field for the number of items required to complete the task and then another custom field for the remaining "open" items.  I am using those two fields
    to make a calculated third column which calculates the "% completed"...I couldn't call it "% complete" since that is one of the built-in fields. 
    The problem is then I have to go down through and manually type in the "% complete" values so that they match my calculated "%completed".  It sure would be slick if I had a macro that would automatically make all of the "% complete"
    fields match the "% completed" fields. 
    Seems simple, but I have zero experience in VBA programming.
    Thank you in advance for your help.
    Bill

    Try:
    Sub UpdateCompleteStatus()
    Dim Job As Task
        For Each Job In ActiveProject.Tasks
        If Not Job Is Nothing Then
            If Not Job.Summary Then
                If IsNumeric(Job.Number3) Then
                    If Job.Number3 >= 0 And Job.Number3 <= 100 Then
                        Job.PercentComplete = Job.Number3
                    End If
                End If
            End If
        End If
        Next Job
    End Sub
    Number 3 being zero is not a problem, but being an error value or <0 or >100 is a problem.
    <p>Rod Gill</p> <p><a href="http://www.project-systems.co.nz/project-vba-book/index.html/">The one and only Project VBA Book</a> <a href="http://www.project-systems.co.nz/"></p> <p>Rod
    Gill Project Management</a></p>

  • How to add one textbox value into another textbox value every month in a list of infopath 2013

    InfoPath 2013.
    I have created a list in which I placed 2 textboxes.
    I have one textbox named Paid Amount:
    Second textbox named Invoice Amount:
    I want when I add any amount in Invoice Amount textbox in every month it Add into
    Paid Amount textbox
    How I can do this ?
    for e.g:
    Paid Amount : 2
    Invoice Amount: 3
    Paid Amount = 5
    When enter next month 6 in Invoice Amount the
    Paid Amount turn into 11.

    You can apply formula using a rule by creating a hidden field and calculate the values. Refer to the following posts for more information
    http://office.microsoft.com/en-in/infopath-help/add-subtract-multiply-and-divide-values-HP001096532.aspx
    https://support.office.com/en-us/article/Add-rules-for-performing-other-actions-5322d726-b787-4e5f-8d37-ba6db68b451d?ui=en-US&rs=en-US&ad=US
    and for complex calculations using code, refer to the following posts
    http://www.infopathdev.com/forums/p/21500/74297.aspx
    http://drekendrop.blogspot.in/2011/03/infopath-2010-get-and-set-value-of.html
    Cheers,

  • Copying a Calculated Field Value to another Field in the same List

    Hello! I have a calculated field that uses an if statement to determine a score. IE A field called Downtime Score contains this calculate:  IF Downtime Minutes =10, 100.  (not correct formatting, just basic to get point across)
    I simply want to use a workflow to copy the calculated value in Downtime Score (100) to another field called Final Downtime Score.
    In the workflow, I current have the following:  Set FinalDowntimeScore to CurrentItem:Downtime Score
    When I log both to workflow history, they both show 0 in history.  Nothing is copying.
    The calculated field is a number and I tried both number and text fields for FinalDowntimeScore.
    This is within SharePoint 2013 and using SharePoint Designer 2013.
    Any help would be appreciated!

    Ok, I did the same test as you and it failed.  I still return a 0 when I should see a 100.
    Not sure if this helps but when even though we are using sharepoint designer 2013, we only have "SharePoint 2010 Workflow" available in Platform type when creating workflows.
    Could you test again using SharePoint 2010 workflow as your platform type and see if you return the same results?
    Thanks!

  • How to update other field values when one field value is updating

    I am creating one ADF page.
    In one form suppose there are two fields ->
    Bank A/C [a combo box or "select one choice"]
    Balance [one Input Field]
    Now, when I am selecting one value in "select one choice" it will automatically make a query in database and fetch and show the balance in the "Balance" input field.
    How can I do that?
    Please note that I have done my development by creating entity object>view object.
    I have not used any EJB.

    Hi,
    is it ADF Business Components that your use then or POJOs? In either way, you set the select component's autosubmit property to true.
    If using ADF BC you can then create a method entry in the set<attributeName> VORowImpl file of the ViewObject that - whenever a new value is set - looksup the dependent value and sets it - call its set<attribute> method within this method.
    Define an ID property on the selectOneChoice component and set the same value to the PartialTrigger property of the textfield that you want to update
    Frank

  • How to get the one attribute value in another attribute getter method

    Hi,
    I have a requirement to get one attribute's value in the another attribute getter or setter method.
    Help needed ASAP.
    Thanks,
    sreenivas.

    Check if both the attributes are under the same context node.
    If so directly call the getter method of the other attribute here like this:
    lv_customer_type = me->get_customer_type( attribute_path = 'STRUCT.CUSTOMER_TYPE' ).
    If it is under a different context node,check if it is available from some relation, if so
        lr_agr_rel = current->get_related_entity( iv_relation_name = 'TpmAgrre'l ).
         CALL METHOD lr_agr_rel->if_bol_bo_property_access~get_property_as_value
            EXPORTING
              iv_attr_name = 'EXTERNAL_ID'
            IMPORTING
              ev_result    = lv_cust_plan_id.
    Regards,
    Masood Imrani S.

  • How to make one field dependent on another

    Hi All,
    I have 2 fields say FieldA and FieldB which is dependent on FieldA.
    The logic is If FieldA is NULL then FieldB should be NULL
    If FieldA is not NULL then FieldB should be not NULL.
    I have written the following code in the WHEN-VALIDATE-ITEM trigger of FieldA
    if :BLOCK_NAME.FieldA is not null then
    set_item_property('BLOCK_NAME.FieldB', REQUIRED, PROPERTY_TRUE);
    end if;
    This makes the FieldB mandatory (color changes to yellow) when I tab out of FieldA, but if I save the record without any value for FieldB, it gets saved without any errors.
    Any help is appreciated.
    EBS version 12.1.3 DB version 11.2.0.2 and Forms10g

    sreedevi  wrote:
    Hi All,
    I have 2 fields say FieldA and FieldB which is dependent on FieldA.
    The logic is If FieldA is NULL then FieldB should be NULL
    If FieldA is not NULL then FieldB should be not NULL.
    I have written the following code in the WHEN-VALIDATE-ITEM trigger of FieldA
    if :BLOCK_NAME.FieldA is not null then
    set_item_property('BLOCK_NAME.FieldB', REQUIRED, PROPERTY_TRUE);
    end if;
    This makes the FieldB mandatory (color changes to yellow) when I tab out of FieldA, but if I save the record without any value for FieldB, it gets saved without any errors.
    Any help is appreciated.your code is ok for the setting required but if cursor didn't move to FieldB, it will not say anything.
    You can try this...
    change form property
    Defer Required Enforcement=YesHope it will enforce form to enter FieldB.
    Can do another thing, Create form level trigger Pre-Commit and write down code for checking value of FieldA and FieldB and raise form trigger failure.
    Hope this helps

Maybe you are looking for

  • Sales documents missing from data base

    Hi Their is this unique problem, we have created sales order 'OR'  and saved it, system has generate some document no xxxx as soon as we go for billing, system message is SD document xxxxxx is not in the database or has been archived Message no. V130

  • Why cant I use relative paths in Netbeans

    Why cant I use relative paths in Netbeans to files on my PC. I want to be able to copy my project folder between different drives and pcs dont want to edit the code everytime I do. BTW I didnt know where on the forum to post this. Just in case this i

  • ELVIS 1 AND ELVIS II LABVIEW VIs COMPATIBILITY

    I am currently working on a project that was previously using Labview (8.5.1) vis built for elvis I, we have now moved on to Elvis II and are experiencing problems that are believed to be steming from the differences in channel configurations. Could

  • Delete 0302 infotype using PU00 T.code

    Hi All, Error occured while deleting an action "action 84 that changed the status was found. Data inconsisteny". This occured because of the unknown action type. Now, i wanted to delete that action and system is not allowing to do it under PA30. deta

  • Default  Transaction Attribute for EJBs

    Guys, Can you tell me the default transaction attributes if any in Weblogic 7.0 i.e. the attributes used if not explicitly specified for a bean method when using in CMT ? For CMP entity beans, MDBs, Other beans (?) : thanks for your help regards Ved