Mensaje
General information
Foro:
Visual FoxPro
Category:
Programación, sintáxis y comandos
Miscellaneous
ID de la conversación:
00522095
ID del mensaje:
00522110
Views:
15
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
Responder
Mapa
Ver