Share via

Access 2003 random test generator

Anonymous
2011-07-30T20:41:34+00:00

Greetings, novice Access 2003 user, but wish to generate a simple randomized 50 question test from a data base of say 100 questions.  Thanks.  Larry

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2011-07-30T21:51:56+00:00

Click Query Design in the Create tab of the ribbon.

Add your table.

Add * from the field list to the query grid.

In the next column, create a calculated field:

Rand: Rnd([FieldName])

where FieldName is the name of a number field in your table (it doesn't matter which, but an AutoNumber field is ideal for this purpose).

Clear the Show check box for this column.

Click in an empty part of the top pane of the query design window.

If necessary, activate the Property Sheet.

Set the Top Values property to 50 (this value is not in the dropdown list, but you can type it yourself).

Each time you "run" the query, it will select 50 records at random.

Was this answer helpful?

7 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful