Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date ranges
Message
De
17/12/1998 03:54:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/12/1998 18:59:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00168328
Message ID:
00168384
Vues:
23
>I need to print a report using querying two fields in a table. One of the two fields is a date field. In FoxPro 6.0 the following will work for one date
>
>for tablename.fieldname = {^1998/01/01};
>
>but how do you query for a range between 01/01/1998 and 12/31/1998.
>
>Thank You in advance.
Anywhere that you could use a VFP function :
1) between(tablename.fieldname, {^1998/01/01}, {^1998/12/31})
2) year(tablename.fieldname) = 1998
SQL :
tablename.fieldname between {^1998/01/01} and {^1998/12/31}
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform