Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter date
Message
De
17/03/2007 07:56:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Filter date
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01204953
Message ID:
01204953
Vues:
59
hi all,
i need to filter from mytable all records have value 2007,
myfield character type(c 20) as (January 2007 ),

as
SET FILTER TO dat=SUBSTR("January       2007  ",8)
select * form mytable where dat = SUBSTR("January       2007  ",8)
or
SELECT * FROM newtable WHERE dat=RIGHT("       2005  ",14)
thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform