Answer the question
In order to leave comments, you need to log in
How to check up correctness of filling of fields in Delphi TDataSet to Post?
There is a certain TDataSet (actually it is a dataset in memory, not tied to a database, even more specifically it is TJvMemoryData but we see it as a regular TDataSet) in which there are a bunch of fields. For them, various restrictions are set, such as the ones set TField.Required = True, TField.CustomConstraint, TField.OnValidate. And this dataset is in the dsEdit or dsInsert state.
Question. Is it possible to somehow elegantly and simply (i.e. call one method or check one property) check the validity of all fields of the current record without executing Post?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question