Basically, the same thing, except that what if two conditions (for example, BF and BK) evaluate to the same result. In the memo, you would store "BF, BK"
then the condition in the EDI packet is BF, you could write code
DO CASE
CASE Field002 $ TheMemo
ENDCAS
You might also want to research the Chain of Responsibility pattern
>
>Not exactly clear on what you mean.
>
>I should have a memo field that contains the conditional like this and then execute it?
>
>
>DO CASE
> CASE FIELD002 = "BF"
> *
> CASE FIELD002 = "BK"
> *
> CASE FIELD002 = "ZZ"
> *
>ENDCASE
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer