|
I have a windows application that needs to set some values for either insertion or updating a database.
The database fields are all bound to a form control.
The value that needs to be stored cannot be determined until the person is ready to save the data entered or updated.
The value is computed based on the data that has been entered in other fileds.
How can I get the fields set before the data is saved.
I have tried field validation but this will not work since the data is not calculated until all the data is entered.
The form Me.Validate method does not seem to invoke the forms validaing event.
If I try to use the rowchanging event, it won't let me save the values in the row because it is changing. The rowchanged event is tool late.
This is the equivalent of an Access form Before update event. But I can't seem to make VB.NET perform it
|