Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date between where condition in select statement
Message
De
20/06/2003 17:07:08
 
 
À
20/06/2003 16:54:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00802448
Message ID:
00802459
Vues:
26
>Can you please tell me how i can use the below date range condition in the where clause.
>
>i am trying to join the cwhere condition to my existing where statement.
>
>I am getting an error saying operator or operand mismatch type...
>

The problem, I think, is that you're putting in character dates without anything to indicate they're dates. Besides that, you may want to use BETWEEN. How about:

cWhere = " AND BETWEEN(docdate,{" + clist1 + "}, {" + clist + "})"

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform