doedit help

Walter Vaughan wvaughan at steelerubber.com
Wed Jun 16 12:44:11 PDT 2004


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.
> We have a dealer number which consists of ###-## (three numbers a dash 
> and 2 numbers) We have an edit dlrnum in the global edits table to 
> handle entering a number with or with out the dash. If entered without 

> If: 
> Then: da(6,#,g)=data(2)
>
> If:
> Then: db = DOEDIT(da,"dlrnum","6")

My first question why are you using double edits.
"#" is a user defined edit typically in the global edits area, but are 
you sure that someone hasn't fiddled with it to remove the ability to 
accept dashes?

Secondly you might want to post your dlrnum edit for the edit gurus here 
  to pick at.
--
Walter





More information about the Filepro-list mailing list