Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about indexes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00522095
Message ID:
00522110
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Does anyone know how I can create an index that would allow me to set a random order? Thanks,
>John

John,
I'm not sure why you want this but, try:

=rand(-1) && seed the random number generator
index on int(recc()*rand()) tag randtag && build index nodes using a random number based on number of records in table

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform