doedit help

Jean-Pierre A. Radley appl at jpr.com
Wed Jun 16 13:39:03 PDT 2004


Guy Templin propounded (on Wed, Jun 16, 2004 at 04:27:34PM -0400):
| my edit is N N N <-> N N (length of field is 6)
| 
| The edit works in *clerk processing if someone enters a value of 111-18 or
| when someone enters 11118 it adds the dash and it will pass the edit.
| 
| My problem is I am getting the input from a file created from web input and
| I want to be able to have the dash added it they forget to put it in.

That edit will fail if there's a leading space in the input field.  I.e.,
is the input is "12345 ", you should get 123-45, but if the input is
" 12345", the edit fails.

-- 
JP


More information about the Filepro-list mailing list