- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Bruce
Thanks for youtr reply, unfortunately I'm struggling to get this to do what I need it to do ![]()
In the demo you sent - if you select a date in the top date field, then select an impact from the top (Finance) row the date is not copied across to the the date field on the finance row. It does populate if you change around the impacts (seems to work when you 'downgrade' an impact ?) could it be something to do with this line in your code perhaps as it seems to be looking for when the value is less than previously?
if (update && newItemValue < prevItemValue)
Also once this issue is resolved do I insert a line for each row? Eg
if (update && newItemValue < prevItemValue)
{
contextItem.resolveNode("HealthSafetyDateOfCompletion").rawValue = ImpactsSubForm.DateTimeField1.rawValue;
}
if (update && newItemValue < prevItemValue)
{
contextItem.resolveNode("OpsBusinessDateOfCompletion").rawValue = ImpactsSubForm.DateTimeField1.rawValue;
}
etc etc?
Many thanks
Ellis
Views
Replies
Total Likes