Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing on datetime field
Message
 
 
To
05/10/1998 15:01:51
Swen Nielsen
Squire Sanders & Dempsey
Cleveland, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00143980
Message ID:
00144000
Views:
30
Swen,

Are you setting the filter from a Private Datasession form before doing the report? Also why not just build a temp cursor for the report? You can use the same condition of the FILTER in the WHERE clause.

>VFP 5.0 SP3/Win 95/NT Network
>I have a transactional table with an EventDate column defined as DateTime and some informational columns. There is regular index defined on the EventDate column.
>
>I have a report where the user specifies a first and last date. I filter using
>"SET FILTER TO BETWEEN(TTOD(EVENTDATE),LLODATE,LHIDATE)".
>
>There are 2 events at the top of the file with the same datetime. The report will show these both sometimes but page-down, page-back will make the first one disappear. My guess is that the index is not distinguishing between these rows.
>
>Any help in making this more consistant will be greatly appreciated. Thanks
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform