Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BETWEEN() not returning correct results
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01321168
Message ID:
01321244
Views:
15
>>Yes, it has to be handled differently because of the time part.
>>
>>Assuming that lc_bdate and lc_edate are datetimes w/o time part
>>
>>...
>>  WHERE (  Inst_request.ir_orddte >= ?lc_bdate AND Inst_request.ir_orddte < (?lc_edate + 1) ;
>>...
>>
>
>
>Thanks Sergey, that worked great!

You're welcome.
BTW, you can use the same technique with other back ends, if necessary
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform