doedit help

Jeff Harrison Jeff.Harrison at Epixweb.com
Wed Jun 16 13:38:47 PDT 2004


Guy Templin wrote:

> 
> 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.
> 
> I need the value from da if it equals "11118" to be passed on to db as
> "111-18"
> 
> thanks for your help.
> 

In your earlier post you mentioned that the definition for da is (6,#) that
means that you are supplying the value " 11118" to your doedit function.
Note the leading space.  If you add [{!" "!}] to the beginning of your
doedit that should do the trick for you.
Jeff Harrison
jeff.harrison at epixweb.com

Author of JHExport and JHImport - The fastest and easiest ways to generate
code for filepro exports and imports.  Demos available upon request.




More information about the Filepro-list mailing list