Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date between where condition in select statement
Message
From
20/06/2003 17:07:08
 
 
To
20/06/2003 16:54:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00802448
Message ID:
00802459
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform