N
ngan
I have a select query called qryRandom that grabs a random number of
clientID. In that query, i set the top value to 100.
In another query called qryViewTrips, I linked the qryRandom with tblTrips
(via clientID). This query will grab all the trips of the top 100 random
clients.
If a user wants to be able to enter in the number of clients to return
randomly, how can I do that via code? For instance, one month, the user may
only want to see the top 50 vs top 75 in another month.
I know I can't code the top n in qryRandom. But I don't want the user to
have to edit the topvalues in qryRandom manually.
Thanks.
clientID. In that query, i set the top value to 100.
In another query called qryViewTrips, I linked the qryRandom with tblTrips
(via clientID). This query will grab all the trips of the top 100 random
clients.
If a user wants to be able to enter in the number of clients to return
randomly, how can I do that via code? For instance, one month, the user may
only want to see the top 50 vs top 75 in another month.
I know I can't code the top n in qryRandom. But I don't want the user to
have to edit the topvalues in qryRandom manually.
Thanks.