We have customized our Purchase Advisor by adding a few columns to two stock dataviews and creating a DataTable that’s associated with a new dataView. The customization populates fields in these dataViews when the part number changes.
I’ve tried to set RowMod = “” for the three dataViews after data is populated by the customization, but it’s not preventing the “Save changes before closing?” dialog from appearing.
That’s a great idea, but I can’t seem to find how to catch an event before that dialog shows up.
I’ve tried on Form_Closing and a beforeAdapter for the part, but the dialog comes up before anything else. I tried a trace to see if anything was firing, but nothing is registering.