OnValidate Event


In the native IBO datasets you have to assign the OnValidate() event at runtime. I suggest that you use the AfterPrepare event for this. It is also possible to hook into the OnValidateField event at the dataset level.

For the TDataset based components it works just like the BDE stuff does.