>Hi...I've got an index that consists of two string fields and a date field (converted with DTOC)
>
>The index expression is:
>
>DTOC(Date_in)+Lot_In+Reserve_ID
>
>I set the order to this tag and browse it and everything looks goodl.. However, if I try seeking:
>
>SEEK '11/12/1999EWROR1001' (on a known record, natch) the seek fails.
>I'm assuming this has something to do with the slashes in the date, perhaps?
>
>Ideas Appreciated.
>
>--- Larry
Most likely it is a SET CENTURY problem. The date in the index probably doesn't have the century. Instead of DTOC, try DTOS, which always uses a 4-digit year. It will also place things in the proper order. Using DTOC, 01/11/99 will come before 11/11/98.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer