S
sanjeev
please can anyone help?
i have a table (voter_details) with several fields that tracks voter_id,
voter_name, voter_address and voter_zone.
I want to create a query or macro that getting 20% of voter_id from each
voter_zone on random basis.
For example, if voter_zone 1 has 500 Voter_id I want to list 100 voter_id
If voter_zone 2 has 900 Voter_id I want to list 180
voter_id
And so on.
The Table looks like this table=voter_details
Total Records = 1200000-1250000
Total Voter_Zone = 500-600
Voter_id Voter_name Voter_address Voter_zone
C89126 Ram 190, Ara
Pat-20
DD5490 Lalan H.No 60, Gaya Bih-60
AZ1259 Sita B/B-10, Ara
Pat-20
Hope you can help.
Thanks
i have a table (voter_details) with several fields that tracks voter_id,
voter_name, voter_address and voter_zone.
I want to create a query or macro that getting 20% of voter_id from each
voter_zone on random basis.
For example, if voter_zone 1 has 500 Voter_id I want to list 100 voter_id
If voter_zone 2 has 900 Voter_id I want to list 180
voter_id
And so on.
The Table looks like this table=voter_details
Total Records = 1200000-1250000
Total Voter_Zone = 500-600
Voter_id Voter_name Voter_address Voter_zone
C89126 Ram 190, Ara
Pat-20
DD5490 Lalan H.No 60, Gaya Bih-60
AZ1259 Sita B/B-10, Ara
Pat-20
Hope you can help.
Thanks