Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Integer/date compound index
Message
From
28/06/2007 11:41:56
 
 
To
28/06/2007 11:35:06
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01236371
Message ID:
01236415
Views:
15
>>>>>Hello all
>>>>>
>>>>>What is the best way to use an integer field plus a date field to create an index?
>>>>>
>>>>>TIA
>>>>Depends.
>>>>What you need might be bintoc(fi)+dtos(fd), dtos(fd)+bintoc(fi), padl(fi,10,'0')+dtos(fd) and vice versa.
>>>>Cetin
>>>
>>>details, details. you're killing me with details. :)
>>>
>>>thanks.
>>
>>Well you're lucky I didn't ask why would you need such a compound key:)
>>Cetin
>
>
>Actually, I think that is a good question.
>I'm trying to create a relationship between two tables through record ids, but I want the child table to be in reverse date order.
>
>Do you think I going about it correctly?

Sure not. You don't need in this relationship :).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform