jcook331
10th November 2004, 17:56
I have a session that I am zooming to from a standard Baan session. Upon zooming to this session most of the fields are automatically populated with the values from the Baan session. This leaves two fields to be entered by the user. I do this by importing the values from the baan session and doing a db.insert. The field I want to be mandatory input for the user is a 3 character string field. I put in a check.input section and go to a table to make sure the user's input is valid. I don't want this field to be left blank. However, if you zoom to this session and just save and exit without entering anything in this field, the record is saved and no error message is given. It's like the check.input session is skipped. If you actually enter incorrect data then the error message is given. If you enter three blank characters no error message is given. It is as if it doesn't see a blank field as an error. I have even tried forcing incorrect data into the field on the zoom, but when you save and exit the incorrect data is saved and no error message is given. This is a Type 1,2,3 form so the check.all.input section should automatically be executed. I don't know why it doesn't see blanks as an error.
Is there any way to force the check.input section to be executed on a save command? Why doesn't it see a blank field as an error?
Thanks for any help with this,
Jason
Is there any way to force the check.input section to be executed on a save command? Why doesn't it see a blank field as an error?
Thanks for any help with this,
Jason