doedit help

Guy Templin Guy_Templin at adelphikitchens.com
Wed Jun 16 13:27:34 PDT 2004


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.


Guy Templin
Adelphi Kitchens


----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Guy Templin" <Guy_Templin at adelphikitchens.com>
Cc: "Filepro" <filepro-list at seaslug.org>
Sent: Wednesday, June 16, 2004 3:07 PM
Subject: Re: doedit help


> Guy Templin wrote:
> >
> > Unix and filepro 4.8
> >
> > I have a processing table where I am trying to apply an edit to a field
and
> > it is not working as I thought.
> [...]
> > process. If the number is entered correctly with a dash it runs OK.
However
> > if it is entered with out the dash it seems to fail the edit and then db
> > equals "" and no value is placed in the selection set. Does anyone have
any
> > suggestions? I included the beginning of the processing the rest is the
> > export file to write the sel.* table.
> [...]
> >        Then: da(6,#,g)=data(2)
> >        Then: db = DOEDIT(da,"dlrnum","6")
>
> Can you give an example of a specific value for da, and the exact
> definition of the dlrnum edit?
>
> Short of this info, all I can say is "the value in da fails the dlrnum
> edit".
>
> --
>
+-------------------------+--------------------+----------------------------
-+
> | Kenneth J. Brody        | www.hvcomputer.com |
|
> | kenbrody at spamcop.net | www.fptech.com     | #include
<std_disclaimer.h> |
>
+-------------------------+--------------------+----------------------------
-+
>




More information about the Filepro-list mailing list