| **
Hi Likun,
I
haven't had a need to try this, but the following approach may
work:
- Create a
table called Random, with the following
fields:
- Random Number - Contains a number
between 0 and 1, to X decimal places.
- Status of "not yet used" or
"used".
- Import random numbers to this table, 1 per
row.
- Create workflow to loop the Random table 100
times, using the first record each time whose status is "not yet used", then
setting the status to "used".
- Use the number retrieved from Random to
determine which record to retrieve from your table, using the result of the
random number and the number of rows in your table. Example: if your table
has 100,000 records, and your first random number is .748567527589, your first
random entry retrieved would from row 74,857.
Eric
Cleereman __20060125_______________________This posting was submitted with HTML in it___ |
Title: Mail
- Re: How to random get 100 entries form a table list. Eric Cleereman (IT)
- Re: How to random get 100 entries form a table li... Frank Caruso
- Re: How to random get 100 entries form a table li... Carey Matthew Black
- Re: How to random get 100 entries form a table li... Dwayne Martin
- Re: How to random get 100 entries form a tabl... Carey Matthew Black

