Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a Winner
Message
From
04/06/1999 09:39:53
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00226460
Message ID:
00226477
Views:
27
Gary,

Try something like this:

SELECT TOP 1 ;
yourField1, yourField2, ;
STR(RAND()*1000000,7,0) AS randseq ;
FROM yourTable ;
IN ResultCursor ;
ORDER BY 3

HTH

George
George Simon, MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform