Customization prevents change of checkbox?

10.2.200.40
I have an odd situation in a customization for Job Traveler. The customization clears the Print Bar Code checkbox, sets the Print Operation Instructions, Operation Dates, and Operation Standards checkboxes, and sets the Report Style to a specified value in the EpiViewNotification event. However, when the customization is run, the Print Bar Codes box cannot be set, the Operation Dates and Operation Standards checkboxes cannot be cleared, and the Report Style dropdown reverts to the set value if changed. I’ve tried setting these values on the AddRow NotifyType, but the changes aren’t displayed when the screen comes up. What can I do to get around this issue? Code is below. Any help would be greatly appreciated!

private void edvReportParam_EpiViewNotification(EpiDataView view, EpiNotifyArgs args)
{
	// ** Argument Properties and Uses **
	// view.dataView[args.Row]["FieldName"]
	// args.Row, args.Column, args.Sender, args.NotifyType
	// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
	if ((args.NotifyType == EpiTransaction.NotifyType.Initialize))
	{
		if ((args.Row > -1))
		{
			view.dataView[args.Row]["BarCodes"] = false;
			view.dataView[args.Row]["OpInstructions"] = true;
			view.dataView[args.Row]["OprDates"] = true;
			view.dataView[args.Row]["OprStd"] = true;
			view.dataView[args.Row]["ReportStyleNum"] = 1004;
		}
	}

}

Hey John,

Are you familiar with the Save Options capability found on many dialogs including Print Dialogs?

I’m wondering if that is interfering with your customization. Go to Actions and choose Remove Defaults to see if the behavior changes. If so, may you can alter your customization to set the default every time and then let the standard functionality do the work for you. Just a thought.

Good Morning, Mark! I removed defaults just in case that could be the issue, and re-ran the customization in Developer Mode, same results. Very weird how this is acting…

Well, it was a thought. That is weird.