Strange Case..!! How 2 set an item as a master block to it's db items block

Hello All,
i have a question pls.
================
How 2 set an item as a master block to it's related db items in the same data block; as follows:
============
1-i have to enter the item's value ('LAB_TEMP' ) once then;
2-the other related items in the same data block r changed record each time i navigate to the next record but this item is never changed in this case only if i re-entered another value as (master-detailed rel.). i tried to copy the value of this item to a display item called 'Temp' but it is changing according to the records frequency by default
===========================================================
I tried the following code on when-new-record-instance & on post-changed Triggers as follows:
============================================================
IF :LAB_TEMP IS NOT NULL THEN
SET_ITEM_PROPERTY ('LAB_TEMP',ENABLED,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('LAB_TEMP',NAVIGABLE,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('TEMP',VISIBLE,PROPERTY_TRUE);
SET_ITEM_PROPERTY ('LAB_TEMP',VISIBLE,PROPERTY_FALSE);
:TEMP := :LAB_TEMP;
ELSE
SET_ITEM_PROPERTY ('LAB_TEMP',ENABLED,PROPERTY_TRUE);
SET_ITEM_PROPERTY ('LAB_TEMP',NAVIGABLE,PROPERTY_TRUE);
SET_ITEM_PROPERTY ('TEMP',VISIBLE,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('LAB_TEMP',VISIBLE,PROPERTY_TRUE);
:TEMP := :LAB_TEMP;
END IF;
============================================================
even this generates unable to set enable property or visible prop. error
====================================================
Someone help me with this pls.??
========================
Thanks in advance,
Regards,
Abdetu..

Hello everyone,
This issue was solved as:
==================
1-i created a separate db block
2-created a text item called 'TEMP' with db=NO
3-In the db block that i want to deal with it as:Master item to it's other related detailed items to that item which is called 'LAB_TEMP' ;
* Copy value from property: TEMP.
By this way i could entered a value i the ndb item called TEMP once & consequently this value is entered copyed 4 each new record i entered.
This is an intial solution works fine at least 4 now, a Fried helped me with this i would like 2 share this info 2 others may be a new idea would help...
Thanks always,
Abdetu..

Similar Messages

  • How set default item in oneSelectChoice

    Hello, man. I have af:selectOneChoice with item from VO.
    jspx
    <af:selectOneChoice value="#{bindings['Edit_RequestIdentityCardTypeId'].inputValue}"
    label="#{bindings['Edit_RequestIdentityCardTypeId'].label}"
    required="true"
    binding="#{speedformula_EditRequest.selectOneChoiceDocType}">
    <f:selectItems value="#{bindings['Edit_RequestIdentityCardTypeId'].items}"
    />
    </af:selectOneChoice>
    pageDef
    <list id="Edit_RequestIdentityCardTypeId"
    IterBinding="Edit_RequestIterator" StaticList="false"
    ListOperMode="0" ListIter="IdentityCardTypeIterator"
    NullValueFlag="1" NullValueId="Edit_RequestIdentityCardTypeId_null">
    <AttrNames>
    <Item Value="IdentityCardTypeId"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="IdentityCardTypeId"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="IctShortName"/>
    </ListDisplayAttrNames>
    </list>
    how set default value oneSelectChoice?

    Ok, say your ResidentIDCardType LOV has the following values, AB, CD, EF, GH. And you need to show EF by default when you render the component, then, you will set the defaultValue on the attribute to EF (which is one of the valid values in the LOV).

  • How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    Who is the email account provider?
    With an Apple iCloud account, there is a preference setting with the account settings on the iPhone to archive messages - save deleted messages in your Archive folder.
    I believe the same is available with a Gmail account.

  • How: can i get a specificated item from a list with more than 100.000 items

    Hi,
    i have a very large list and i got always an exception that the list has more than 5000 items and cant query!! But in the default list view i can see, order and filter all items. So how can i do this by c#?

    Hi,
    According to your description, my understanding is that you want to get a specific list item form a list which with more than 100000 items using C#.
    I suggest you can use CAML Query with some condition and set Row Limit to specify the number of items to return.
    Here is a detailed code demo for your reference:
    Client Object Model Access Large Lists/Overcome ListView Threshold while accessing large list
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to use Find Change to add FC in front of all item numbers?

    Hello,
    I am using Indesign CS5 on iMac, running OS 10.8.3.
    I designed a product catalog that has 148 pages. Now I need to save the same design and make a new catalog for our wholesalers. On the wholesalers catalog I need to change the item numbers and add FC in front of each item number. How can I use find change to find each item and change them with FC in front of the item numbers? The following are a few examples of the item numbers:
    LED-4042 I want to change it to FCLED-4042
    UA-42 I want to change it to FCUA-42
    SC-110 change it to FCSC-110
    KN-10 change it to FCKN-10
    etc....
    I am hoping there is a fast way to find and change these.  I was looking in to GREP, but I could not figure how to do this.
    Thanks,
    Omar

    One way would be to just run it and then *remove* any double FC's -- but GREP can do even more! One of its many functions is to scan ahead for the presence or absence of certain text, and only act when it is (or it is not) there. This is called "lookbehind" (before the text you want to match) and "lookahead" (after the text you want to match).
    In this case, you want to find a phrase starting with capitals, but NOT the exact string "FC". That's a job for Negative Lookahead -- Only Match If Not.
    Try this: search for
    \b(?!FC)\u+-\d+\b
    ... the Replace With stays the same.

  • How do I connect my iPhone to my mac and only have items sync manually?

    How do I connect my iPhone to my mac and only have items sync manually?

    Go to preferences in itunes and set it not to auto sync

  • How set  UserName and Password for HTTP Basic Authentication for a servlet

    Hi..
    How set UserName and Password for HTTP Basic Authentication for a servlet in JBoss server?
    Using Tomcat i can do it .(By setting roles in web.xml, and user credintails in tomcat-user.xml).
    But i dont know how do it in JBOSS..
    I am using Netbeans and Eclipse IDEs.. Can we do it by using them also!?
    Thank u

    Hi Raj,
    You can do this by creating a Login screen for the users and check the authentication of each user in PAI i.e. PROCESS AFTER INPUT.
    Store the user information in a database table and check the username and password when the user enters it.
    You can display password as *** also. For this double click on input box designed for password and goto Display tab. Select Invisible in the list and check it.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
        WHEN <fcode for submit>.
          SELECT SINGLE uname pwd
           FROM <DB table>
           INTO (user, pass)
           WHERE username = user AND
                   password = passwd.
          IF sy-subrc = 0.
    <Go to next screen for further processing>
          ELSE.
    <Display Error message and exit>
          ENDIF.
      ENDCASE.
    Regards,
    Amit
    Message was edited by:
            Amit Kumar

  • How set disable select matrix column header

    How set disable select matrix column header same Inventory-->Pick List Form
    Thanks Advance.

    Hi ,
    do u mean Price List Form Header...
    If Yes Means Try the Following,
    select case pVal.FormType
    case "155"
    Select Case pVal.Before_Action
    case True
    select case pval.ItemUid
    case "3"
    Select Case pVal.EventType
    Case SAPbouiCOM.BoEventTypes.et_CLICK
    if pval.row = 0  Then BubbleEvent = False : Exit Sub
    End Select
    End Select
    End Select
    Regards,
    Ganesh k

  • How can I fit the chart in the center of the chart item ??

    I created a chart item in the Form, in which the attached chart is created manually using Graphics. When I run the form, the OG.OPEN function is called and the chart is displayed. However, it can only show a part of it. I want to know how can it can be fit into the size of the chart item, so that the whole chart can be shown on the screen automatically. Thanks !!

    Dear bowiecpy
    Pls let me know how to do it Plz
    Regards Lakmal

  • How to add a default value in a site column for every item in a document library

    HI
    i created a content type with some site columns ,
    and included in a Document library.
    Process ( content type)
    -ProcessNo
    -ProcessName
    after that i uploaded 100 Documents but not  added value in a site column process name.
    now  how i add a default value in a site column for every document in a document library 
    adil

    HI
    i get below error when i change the script 
    PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
    Cannot index into a null array.
    At C:\Scripts\updatedefaultvalue.ps1:8 char:7
    + IF($i[ <<<< "Title"] -eq $null)
        + CategoryInfo          : InvalidOperation: (Title:String) [], RuntimeExce
       ption
        + FullyQualifiedErrorId : NullArray
    $web = Get-SPWeb http://tspmcwfe:89/
    $list = $web.Lists["test"]
    $item = $list.Items | Where { $_["Name"] -eq "Emc" }
    foreach($i in $items)
    IF($i["Title"] -eq $null)
             $i["Title"] = "test"
           $i.Update()
    adil
    Why are you piping a where in the items? Do you only want to add the "test" to ones matching
    a name?
    If you have ISE installed on your server I recommend you put your code in there and debug it. 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • How to get values/data stored in the database into a list-item.

    how to get values/data stored in the database into a list-item.
    i tried to make a list item without any values assigned to it...but i got the below error.
    FRM-30191: No list items defined for required poplist.
    or
    FRM-32082: Invalid value for given item type.
    List EMPNO
    Item: EMPNO
    Block: EMP
    Form: MODULE5
    FRM-30085: Unable to adjust form for output.
    then according to some docs, i tried the the following for the trigger
    when-new-form-instance
    declare
         rg_name varchar2(40) := 'emp_rec';
         status number;
         groupid recordgroup;
         it_id item;
    begin
         it_id := Find_Item('empno');
         groupid := create_group_from_query(rg_name, 'select empno from emp');
         status := populate_group(groupid);
         populate_list(it_id, groupid);
    end;
    but yet didnt work... :(
    so how the heck do i get values fetched from the database table into the list item?

    for list items you need to values in the record group, one is the shown value and one is the returned value.
    Check out the online help for the populate_list built-in.
    You'll need something like select ename,ename from emp as the record group query.

  • HT4824 My iPhone is running with ios 4.2.1 & current version of ios is 6.0.1 in this case how can i update my iPhone to ios 4.3.5? itune will show only latest version of ios.

    My iPhone is running with ios 4.2.1 & current version of ios is 6.0.1 in this case how can i update my iPhone to ios 4.3.5? itune will show only latest version of ios.

    If you have iPhone 3G, the latest and greatest is IOS 4.2.1.
    If you have iPhone 3GS or later, you can only update to IOS 6.0.1.
    For iPhone 5 and iPad mini, you can update to IOS 6.0.2.

  • How set-up time capsule as external hard drive

    How set-up a tme capsule as esternal hard drive

    Click here and follow the instructions. When it's on the Finder's desktop or in the sidebar, it's an external drive.
    (60835)

  • WCF Service and Sharepoint Form library : How i can read a access a form libray and query a item from file name and read form xml in WCF service ?

    WCF Service and Sharepoint Form library : How i can read or access a form libray and query a item from file name and read form xml in WCF service ?
    Ahsan Ranjha

    Hi,
    In SharePoint 2013, we can take use of REST API or Client Object Model to access the SharePoint objects like Form Library.
    SharePoint 2013 REST API
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
    http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
    SharePoint 2013 Client Object Model
    http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
    With the retrieved file, we can then use XmlDocument object to parse it and get the values you want:
    http://weblogs.asp.net/jimjackson/opening-and-reading-an-xml-file-in-a-document-library
    http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to do a dropdownlist in java Swing much like a JMenuBar items

    Hi sir,
    Here i want to know how to do a dropdownlist in java swing much like a JMenuBar items falling from the top to bottom .Here i should not use JMenuBar in any way.
    So that i need to do the dropdownlist by using other feature only.Since i am new to this.I need ur help urgently.Pls do provide the code for this so that i will be so gratefull to u.It is very Urgent.Since i have involved in a project which involves this feature.Pls. do provide the answer as well as the code quickly as possible.
    Thanx
    m.ananthu

    use JComboBox
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

Maybe you are looking for

  • Macbook died for no reason at all

    I'm stumped. One minute my macbook (2008 model) was fine & the next it just wouldnt turn on. It's dead. I've checked the battery (full power), the power adapter...tried all the steps given in the apple pamphlet. Nothing. Oh, and it's one week out of

  • I deleted the iphoto completely from my mac and want to reinstall it.

    I deleted the iphoto completely from my macbut now I want it back. Is there a way to download it again because tha appstore doesn't have it.

  • Onboard NIC, KT4V MS-6712

    Hi there, When i try to connect to the internet with the onboard nic of my KT4V MS-6712 i get the error message "one of the networkcables is not connected". With an sepperate nic i don't have any problems. Is there some setting i did forget? Nic is a

  • FIM Sync service keeps restarting after being disabled

    Hi - We are deploying the SharePoint User Profile Store connector and I have followed all the steps here: http://technet.microsoft.com/en-us/library/dn511003(v=ws.10).aspx However the FIM Sync service keeps enabling and restarting itself - can't see

  • Discoverer 10 g drill down report regarding

    hi actually report has already done in oracle discoverer 4i ,now i want to upgrade to oracle discoverer 10 g . so could you help me in getting the upgrade to 10 g . thanks mahesh