Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting * a table based on only the Year?
Message
De
23/03/2010 13:52:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456639
Message ID:
01456676
Vues:
24
>>>Try first
>>>
>>>select * from myTable where datefield >=date(2002,1,1) and datefiled < (2003,1,1) 
>>>
>>>Does it bring you records? If not, in means all records are deleted or don't exists for the year 2002.
>>
>>
>>i changed the months seemd to fix it
>
>You didn't need to change months if you wanted the whole year. Look closer at the solution presented.

yea but im not going to hard code the year. so the yea can only be one value which is the value it gets from the spinner
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform