Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Index tag - help
Message
From
04/05/1999 20:00:25
Paul Harker
Harker Enterprises, Inc.
Idaho Falls, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209679
Message ID:
00215193
Views:
37
I know this thread is a little old, but I used to do a lot of this. Check out the DTOC() function, If you do this in the year 1st, then the date, you will get chr values you can include with other chr fields.

>Scott,
>
>Actually - that didn't work either but I got to thinking and the following got me what I want..
>index on lastname+STR(VAL(SYS(11,newdDate))) tag nameDate
>
>1) I had to add the val() to the code, because of the following:
>? type(sys(11, date())) returns 'N'
>? str(sys(11, date()))) returns error
>? str(val(sys(11, date()))) returns a character correctly.
>I don't know why I have to put the val() in, but it works...
>
>Thanks
>Robert
>
>
>>scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform