Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequal select statement and blank field
Message
 
 
À
19/06/2003 18:00:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00801967
Message ID:
00801974
Vues:
11
SET ANSI ON or change LEFT() TO PADR() and it'll be included.

>I think I have become brain dead and need help. Given the following code:
>
>
>	Select * From deposits  Where ! Empty(sif_no) And ;
>        Between (dep_date,ldbegindate,ldenddate) ;
>	AND LEFT(ALLTRIM(inv_no),2) <> "WO" AND ;
>       ! inlist(Left(Alltrim(inv_no),3),"RTN","COL","REF");
>	Order By dep_no Into cursor deposit_extract
>
>
>
>If inv_no is blank it doesn't get included. I am looking to exclude only those four type of invoice number entries in the code.
>
>There probably is a simple answer but I just don't see it.
>
>Thanks
>Gaylen
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform