Hi, everybody,
I have a form and I want to make sure that people are not leaving certain text fields blank when inputing new record. I have checked both the "Perform validations on field exit" and "Should the user be forced to enter a value" properties for the textbox. However, validation was not done and I can still leave the record empty. When I use debug to trace the code, I found that an error appeared on a line of the ISEMPTY() function in the secure textbox method:
llRetVal = goApp.oValidation.IsEmpty (This.Value, This.cDescriptiveName, goApp.oMessageBox, llShowMessage).
The error code indicated that the oValidation object was not instantiated. I believe the oValidation object should be in the cValidation class, but I do not know what I should do (and where) to instantiate this class. I thought it was done automatically by ibizobj....No ?
Anyone has some idea?
Best wishes,
Denis ©2001 Denis Leung |