If I wanted to create a random bingo card of 9 employees in Northwind, I would:
1) create a table of all numbers
tblNums.Num
2) add all numbers from 1 to 100
3) create a query (qcartEmployeeBingo) with SQL of
Code:
SELECT tblNums.Num, Rnd([EmployeeID]) AS RandomOrder, Employees.LastName
FROM Employees, tblNums
WHERE tblNums.Num<=50;
4) Create a new report based on qcartEmployeeBingo
5) set the sorting and grouping to
Num (each Num should start a new page)
Random Order
6) Set the detail section to the size of a bingo square and add a text box to display the value.
7) add a transparent rectangle around the detail section
8) go to the Page Setup - Columns and define 3 columns (3x3=9)
9) No column spacing and column size the same as the detail
10) Save and then view the report.
If you have a free square you can use a union query to add a single "FREE SPACE" record to the "employee table". Then use the union query rather than the employee table in the qcartEmployeeBingo query.
Rather than a 3 column report, you will need a 5 column report.
Duane MS Access MVP
Now help me support United Cerebral Palsy