Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using between function with dates in VFP7
Message
From
08/03/2005 11:34:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/03/2005 11:27:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993687
Message ID:
00993694
Views:
17
>Hi,
>
>I am having trouble using the following function:
>BROWSE FOR BETWEEN(closedate,{01/01/2005},{02/28/2005})
>The closedate is a d(8) fieldtype.
>
>When I try to run this code, I get an dialog that says ambiguous date/time function.
>
>How do I accomplish this?
>
>TIA,
>
>Sue Burnham

Try:
BROWSE FOR BETWEEN(closedate,{^2005/01/01},{^2005/02/28})
^YYYY/MM/DD is a format independant from current date settings.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform