How to record value of field to perform action when saving with new value

Hi,
I have a multi-tabbed form (Forms 6i). I need to include code so that when a field is changed on one tab and is saved, then I need to update some fields on the other tabs.
My first question is: How can I record a copy of the field whenever data is brought into the form (ie: through a query), and then what is the best way to update the other data:
1) Update the database and then requery somehow
2) Update the fields on the other tabs and then commit to the database?
And roughly I how I do it?
Any help appreciated
Adam

> if the user is inserting a new record and I try and use the DATABASE_VALUE property on that field.... what is going to happen?
Read the on-line help for Database_value. Use :System.record_status to determine if the record is being inserted, then don't get database_value. It is not clear, but I believe on such records, it returns the current value of the item, not a null value. Regardless, it is useless.
If you want to update fields in other blocks in your form automatically based on changes in a different block, you can start a non-repeating timer in a when-validate-item trigger on the field. When the timer expires, you can navigate to the other blocks and to various records, and update the fields in the other blocks. Then when the user commits, all changes will be applied together. The only trick to using a timer like that is that in the commit process, you also need to check to see if the timer exists, and if it does, delete the timer and do the updates to the other tables.

Similar Messages

  • How to export "Managed by" field of Distribution and Security groups and import with new values? (Exchange 2010, AD 2003)

    My Active Directory environment is 2003 functional level and we have Exchange 2010.
    I am trying to find out the best way to do a mass edit for the "Managed by" values of our security and distribution groups.
    I know we can export the "managed by" field by csvde but I am not sure this is the correct way to do it. Also in the case that there are multiple users assigned to be managing a distribution group it only shows one value. Also powershell from Exchange
    2010 can be used with "get-distribution" but as our AD environment is 2003 is this correct also?
    Finally once the data is exported to csv can it be edited to then reimport and udpate the existing group managed by fields with new values?
    Not really sure that the best way to go about this is.
    Summary - We have 2003 AD with Exchange 2010 and I am trying to export a list of all our Distribution/Security groups showing the group name and managedby values so we can edit and update the
    existing managedby values with new ones. In some cases we have multiple users as the owners.
    Appreciate any advice on how this can be best achieved. Thank you.

    Hi,
    We can use the following command in Exchange 2010 to export "Managed by" field of Distribution and Security groups:
    Get-DistributionGroup | Select-object Name,@{label="ManagedBy";expression={[string]::join(“;”,$_.managedby)}},Primarysmtpaddress | Export-Csv
    C:\export.csv
    After you changed the Managed by field in export.csv and saved it as a new file named import.csv, we can run the following command to set with new value:
    Import-Csv C:\import.csv | Foreach-Object{ Set-DistributionGroup –Identity $_.Name –ManagedBy $_.ManagedBy}
    Hope it works.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • How to export "Managed by" field of Distribution and Security groups and import with new values?

    My Active Directory environment is 2003 functional level and we have Exchange 2010.
    I am trying to find out the best way to do a mass edit for the "Managed by" values of our security and distribution groups.
    I know we can export the "managed by" field by csvde but I am not sure this is the correct way to do it. Also in the case that there are multiple users assigned to be managing a distribution group it only shows one value. Also powershell from Exchange
    2010 can be used with "get-distribution" but as our AD envronment is 2003 is this correct also?
    Finally once the data is exported to csv can it be edited to then reimport and udpate the existing group managed by fields with new values?
    Not really sure that the best way to go about this is.
    Summary - We have 2003 AD with Exchange 2010 and I am trying to export a list of all our Distribution/Security groups showing the group name and managedby values so we can edit and update the
    existing managedby values with new ones.
    Appreciate any advice on how this can be best achieved. Thank you.

    Hi Barkley,
    You can also refer to Official Scripting Guys forum to get a script solution:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Amy Wang

  • Where to Configure Service Ticket "Reason" & "Subject" field with new value

    Hi Friends - I am working on IC Webclient Service Ticket. I want to Configure the "Reason" field as well as the "Subject" field in Service Ticket with new Values as per our requirement.
    I could not find any Configuration object for the above mentioned customizing in the CRM > SPRO.
    Can you pls guide me where I can configure the same?
    Thanks in advance and warm regards
    Purnendu

    Hi Gert - Thanks a lot for your reply.
    I am using CRM 5.0. I just forgot that Categorization profile can be used for the same.
    I have configured the categorization profile for the same and its working fine.
    One more thing -
    I want to create an Appointment with Customer for problem resolution at the Customer Site. I want to assign Resorces to the Appointment so that the responsible resource is notified and sent to the Customer Site for Visit.
    Can you pls guide me on the same?
    Cheers
    Purnendu
    P.S. - Full reward points awarded.

  • How to get the Application perform actions when exits?

    How to get the Application perform actions when user clicks on the "X" icon in the top right hand corner?
    OR
    If i placed an Exit Button.... when actions that i need to use to allow my application to perform a certain action when it exits?
    Thanks

    frame.addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        // do your stuff here
    });The WindowListener and WindowEvent can be found in java.awt.event package
    //David

  • How do i lock all fields without using the signature function with adobe lifecycle designer 9

    How do i lock all fields without using the signature function with adobe lifecycle designer 9 ...
    I want it to have the same affect as when a signature is used but not use that function. I want a button that says lock all fields. And then you can click it again to unlock all fields...
    Thanks

    Here you go!
    LOCK the form once its SAVEd?

  • Does only Adobre Reader "reads" the fields of a PDF when created with Acrobat?

    I created a PDF with several fields and exported it.
    Then I tried to open it with Firefox and the fields didn't appear.
    But it works OK with Adobe Acrobat.
    Does only Adobre Reader "reads" the fields of a PDF when created with Acrobat?

    Adobe software reads form fields. The rules for how to do form fields are a part of the PDF standard (a book available to anyone) but some companies ignore it and others do half a job. To be safe, use only Adobe Reader. And beware of browsers that ignore Adobe Reader even if you have it.

  • How can I exchange all the images in a slide show with new ones

    I have 18 slide shows each is a different competition for our camera club. How can I exchange all the images from each slide show with new images as our club competitions commence? I am reluctant to just delete the slide show because I will have set it all back up. I want to leave the size shape and format of the show as is, but just exchange all of the current images with new ones. I am hoping there is a quick way to delete and replace all images for each show? Each slide show has around 40 images and I have 18 shows
    thank you for your help

    1. Activate "thumbnails" in the configuration panel
    2. Select one Thumbnail.
    3. Rightclick and choose "Select same"
    4. Press "backspace"
    5. Open the configuration panel and load the new images.

  • How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing.

    How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing. I went through the process of clicking through the how to's and the troubleshooting and came to the conclusion that I need to install the adobe drive 5 but I can not complete the installation. I may be incorrect on this so I need immediate assistance as I have poster and ad deadlines. I also tried disabling the gatekeeper and solution 3 on the troubleshooting of slow saving on photoshop.
    Any help is much appreciated!
    Thank you!

    Are you attempting to save the file to a network location instead of your local hard drive? If so, this is probably why you are encountering an issue and why Adobe Drive would be the solution. As we've documented, it is a bad idea to open from or save directly to a network source: Networks, removable media | Photoshop | CS4 and later. Drive can help you get around this by setting up an Adobe supported virtual connection to the network. Thus, if installing Adobe Drive is the solution you need and your need help with installing Drive, please post to the Downloading, Installing, Setting Up forum.
    If you are not saving to a network location, then Adobe Drive is not going to be the answer. Then we'll need to know more about the file you are saving.

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • How do I make Firefox automatically display my homepage when opening a new tab (instead of a blank page now)?

    How do I make Firefox automatically display my homepage when opening a new tab (instead of a blank page now)?
    (version 3.6.6 on a Windows7 64-bit rig)

    If you are using the latest version of firefox you dont need an addon simply change it in the config
    http://computerlearnhow.com/how-to-change-the-firefox-new-tab-homepage-to-something-useful/#.T6om38USU4k

  • How to modify person or group field value with new value

    Hi
    I have person or group field having property Person Only.
    Thsi firls already have one value. Now I want to update it but this code to update value is not working.
    string myName = @"ABC\myname";
    web.EnsureUser(myName);
    SPUser myUser = web.SiteUsers[myName];
    SPFieldUserValue myNamevlaue = new SPFieldUserValue(web, myUser.ID, myUser.LoginName);
    oSplistItem["My_x0020_User"] = myNamevalue;
    oSplistItem.Update();
    I am getting myNamevalue correct in the veriable. But why its not updating in the list?
    is there any issue in the above code?
    Do I need to delete previous value and then update new value in this field? How?

    Hi,
    The format of the user value in people/Group field must be
    ID;#Name, you can use the following code snippets to update the people/group field.
    string loginName = "ABC\\myname";
    SPUser user = web.SiteUsers[loginName];
    SPList list = web.Lists.TryGetList("ListName");
    if (list == null)
    Console.WriteLine("list is not exist!");
    return;
    SPListItem item = list.GetItemById(3);
    item["My_x0020_User"] = user.ID.ToString() + ";#" + user.Name;
    item.Update();
    Thanks,
    Jason
    Please remember to mark the reply as answer if it help, and unmark the answer if it provide no help.

  • How to use value in a drop-down list box as "With these Values" parameter?

    Hello, new user.
    I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR".
    Then I have a list, one entry of which goes to my master-detail form, which is Page 6. I would like it to go to the study number that the user choose on Page 1.
    In my target on the create/edit list entry, I put in "Page in this Application", "Page 6", then in Set these items, I put in
    P6_STUDY_NBR
    My question is what to use in With these values, where I want the contents of the P1_STUDY_NBR. I tried:
    &P1_STUDY_NBR
    and that does not work. If I put in one of the study numbers, like 336-00, then it does work, but I want it to pass the study number the user chooses in the list box. How do I refer to the contents of P1_STUDY_NBR?
    -Mary

    Yes, that does work, thanks. I'm now getting the default value I was putting in yesterday rather than an error message, so there must be something loading it, but I'll hunt around for what process might be doing that, or try re-creating the master-detail form again.

  • How to get around a performance issue when dealing with a lot of data

    Hello All,
    This is an academic question really, I'm not sure what I'm going to do with my issue, but I have some options.  I was wondering if anyone would like to throw in their two cents on what they would do.
    I have a report, the users want to see all agreements and all conditions related to the updating of rebates and the affected invoices. From a technical perspective ENT6038-KONV-KONP-KONA-KNA1.  THese are the tables I have to hit.  The problem is that when they retroactively update rebate conditions they can hit thousands of invoices, which blossoms out to thousands of conditions...you see the problem. I simply have too much data to grab, it times out.
    I've tried everything around the code.  If you have a better way to get price conditions and agreement numbers off of thousands of invoices, please let me know what that is.
    I have a couple of options.
    1) Use shared memory to preload the data for the report.  This would work, but I'm not going to know what data is needed to be loaded until report run time. They put in a date. I simply can't preload everything. I don't like this option much. 
    2) Write a function module to do this work. When the user clicks on the button to get this particular data, it will launch the FM in background and e-mail them the results. As you know, the background job won't time out. So far this is my favored option.
    Any other ideas?
    Oh...nope, BI is not an option, we don't have it. I know, I'm not happy about it. We do have a data warehouse, but the prospect of working with that group makes me whince.

    My two cents - firstly totally agree with Derick that its probably a good idea to go back to the business and justify their requirement in regards to reporting and "whether any user can meaningfully process all those results in an aggregate". But having dealt with customers across industries over a long period of time, it would probably be bit fanciful to expect them to change their requirements too much as in my experience neither do they understand (too much) technology nor they want to hear about technical limitations for a system etc. They want what they want if possible yesterday!
    So, about dealing with performance issues within ABAP, I'm sure you must be already using efficient programming techniques like using Hash internal tables with Unique Keys, accessing rows of the table using Field-Symbols and all that but what I was going to suggest to you is probably look at using [Extracts|http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/content.htm]. I've had to deal with this couple of times in the past when dealing with massive amount of data and I found it to be very efficient in regards to performance. A good point to remember when using Extracts that, I quote from SAP Help, "The size of an extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating system files. The practical size of an extract is up to 2GB, as long as there is enough space in the filesystem."
    Hope this helps,
    Cheers,
    Sougata.

  • Grouping field value in the additional data tab is saved with capital lette

    Hi,
    Whenever I change the value in the 'Grouping field' in the additional data tab, it gets saved with all letter caps.
    For e.g, if i enter 'Manager'.. it gets saved as 'MANAGER'.
    what could be the reason for this? Is there any configuration for this?
    Regards,
    Simmi

    Hi Simmi,
    For Grouping and Search Field, this seems to be the standard system behaviour in cProjects and as per my knowledge there are no settings for the same.
    Probably you can raise an OSS message regarding the same.
    Regards,
    Vivek Pandey

Maybe you are looking for