Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax for finding a particular record
Message
 
 
À
07/12/2006 06:08:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01175528
Message ID:
01175561
Vues:
8
>
>If you're in the command window you can enter a valid date like:
>
>ldTestDate = CTOD("01/04/1995")
>
>then retrieve the date as:
>
>Select * from UserName where DOB = ldTestDate
>
>or
>
>Select * from UserName where DOB = CTOD("01/04/1995")
>
>This is using SQL select. It takes more commands, and a pprogram loop, to retrive via native VFP xBase code. Your query is too brief to determine what you want.
ldTestDate = {01/04/1995}
* Even better
ldTestDate = {^1995/04/01}
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform