10% Random Inventory

  • Thread starter Thread starter AmmoTroopIraq
  • Start date Start date
A

AmmoTroopIraq

I am fairly new to Access but I am trying to generate a listing via a query
to get 10% of the items of the query for a physical inventory.

The query pulls out the records that have not been inventoried to date.
From this listing I have one field ([New GP Number]) that is set as the
primary key allowing no duplicates. What I would like to do is pull 10% of
this field along with information and use the query in a report for use as my
basis for the 10%.

Any assistance you can give me with this would be greatly appreciated.

Thanks for the help.
 
Try this --
SELECT TOP 10 PERCENT Rnd(([New GP Number]) AS MtList, *
FROM YourTable
ORDER BY Rnd(([New GP Number]);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

COMBINING 2 QUERIES INTO 1 12
union query 19
Query Running Balance 6
Recieving Inventory Query 3
AT WITS END ON QUERY TOTAL 34
SQL Syntax for an update query 2
combining queries into 1 8
Addition/Subtraction 2

Back
Top