Assign Numbers
Syntax
Assign Numbers field_name
Starting Number number
Ending Number number
Suppress Pop-up
Parameters
- field_name: The name of the database field that will receive the assigned numbers (e.g.,
NO.). - Starting Number number: Optional. The first number to assign. If omitted, numbering starts at 1.
- Ending Number number: Optional. The last number in the allowed range. Assignment stops when this number is reached.
- Suppress Pop-up: Optional. Suppresses the confirmation dialog that normally appears showing the last number assigned.
Description
Assigns sequential numbers to a field in the database. This is typically used for assigning bib numbers after registration based on specific criteria such as sorting by previous time or age group.
Remarks
- This command modifies the database directly -- results are not sent to the printer or a file.
- The order of assignment depends on the current sort order, so use
Sortcommands beforeAssign Numbersto control the sequence. - To assign ranges of numbers to different categories (e.g., age groups), run multiple passes using
Selectto filter each group andStarting Number/Ending Numberto set the range for each pass. - After running the command, a pop-up displays the last number assigned unless
Suppress Pop-upis used.
Examples
Assign bib numbers 201 through 500 to all female runners:
Assign Numbers NO.
Select SEX
= F
Starting Number 201
Ending Number 500
Assign numbers to all entrants sorted by previous time:
Sort PREV TIME
Assign Numbers NO.