Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek for datetime records within month using index
Message
From
05/12/2005 15:07:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01075055
Message ID:
01075065
Views:
14
>Is there a way to find records based on a date field within a month and year using an index rather than an append from? I'm using a visual calendar and need to display information on the days showing within the current displayed month & year and quickly change the display if the month and or year changes. I want to use an index to make the display change fast. Is there some date command that can be used to search an indexed date field based on just the month and year so I can quickly populate a temp database with all records that fall within that month and year?
>
>Thanks!
>Colombo.
Select .... where month(yourfield()=nMonth and year(yourfield)=nYear
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform