|
Hi Rob,
To match the functionality of the original code, you'd need to add
Other;
Memo = *blanks;
and for completeness, it should probably have
Pono = *blanks;
as well, i.e.
> Select;
> Where CM='CM';
> Memo = '* CREDIT';
> PoNo = *Blanks;
> Where CM='DM';
> Memo = '* DEBIT';
> PoNo = *Blanks;
Other;
Memo = *Blanks;
PoNo = *Blanks;
> EndSL;
Regards,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax
----- Original Message -----
From: <rob@dekko.com>
Sent: Thursday, January 10, 2002 5:58 AM
Subject: RE: Sanity check
>
> Why not
> Select;
> Where CM='CM';
> Memo = '* CREDIT';
> PoNo = *Blanks;
> Where CM='DM';
> Memo = '* DEBIT';
> PoNo = *Blanks;
> EndSL;
> And do away with the numerous EndIf's I see in many code samples?
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.