Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching by two fields
Message
From
20/09/2000 22:30:44
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
20/09/2000 10:30:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00418492
Message ID:
00418844
Views:
44
Linda,

Not sure how well this came through but when indexing on fields that are non-character you need to convert:

INDEX ON STR(nMyNumber) + DTOS(dMyDate)

Also, to get the latest date use

INDEX ON STR(nMyNumber) + DTOS(dMyDate) DESCENDING

I use this a lot to find the last visit for a patient.



>thank you so much for your help i appreciate it
>i'll give these a try
>
>thank you Linda
Previous
Reply
Map
View

Click here to load this message in the networking platform