Hi, I am having a problem cancelling a data form.
Basically, I am displaying a dataform after calling AddNewItem() on the dataform. Then I click Next, which fires ValidateItem(). Of course, with no values set, it fires a number of validations. Then I click Cancel, which callse CancelEdit() on the dataform. The line after I call cancel, I try to set the CurrentItem on the DataForm to null. It causes an exception: "Cannot change currency when an item has validation errors or it is being edited and AutoCommit is false". I believe the item has validation errors, but surely they should have been cleared by the CancelEdit? How would I get around this to drop the item? Regards, Tony _______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
