Subject | Validating a field |
---|---|
Author | Roberto Freitas |
Post date | 2005-09-14T20:03:58Z |
I need some help on how to validate a field with IBO.
Before using IBO, I did it this way:
1) right-button click the Query object on DataModule and choose Fields
Editor
2) select a field and double-click on its OnValidate event
3) write code to test some conditions
I am using a TIB_Grid linked to a TIB_DataSource and a TIB_Query.
The user can type values for the fields on the TIB_Grid and I need to
validate it. But I couldn't yet figure out how to do this kind of
validation with IBO. I couldn't find it on IBObjects Home Page FAQ.
Before using IBO, I did it this way:
1) right-button click the Query object on DataModule and choose Fields
Editor
2) select a field and double-click on its OnValidate event
3) write code to test some conditions
I am using a TIB_Grid linked to a TIB_DataSource and a TIB_Query.
The user can type values for the fields on the TIB_Grid and I need to
validate it. But I couldn't yet figure out how to do this kind of
validation with IBO. I couldn't find it on IBObjects Home Page FAQ.