Itemupdating cancel


Body &= "" & "Before change." & "" What would go in here? One problem you may be having is that if the old value had a null and you call . Values(4) using Values with a column name returns nothing on any column e.

itemupdating cancel-11

Or you could tempalte all of your fields and add a field alongside, to the right.

Dave Setting certain properties forces the Details View (or the Grid View or the Form View) to re-databind to reflect the new values.

How can we prevent a user from changing a certain column for an item in a list event?

From the list table, you can see if we hook into the Item Updating event, we can compare the current item’s value (properties.

In the mean time, as a workaround, you can manually repopulate the fields from the New Values collection; it's not a great solution, but would allow you to keep working.