<< Click to Display Table of Contents >> Navigation: Programming > Keyboard > Table Layout > Edit a table > Changing Table 'ID' numbers > How Table 'ID' numbers work |
The table 'ID' number must be unique. Remember, it is different to 'Table name' although the system will, by default, name tables as '#' + 'ID number' so they often appear to be the same.
The system allocates ID numbers automatically when you add a new table - it just allocates the next available number (the logic is "current highest ID number + 1")
It does not, therefore, re-allocate 'ID' numbers from tables that have been deleted unless their 'ID' number was higher than the current largest 'ID' number.
Consider these two examples:
Example 1
1. There are 10 tables on a floor plan (the only floor plan in the establishment) and the user deletes tables 1, 2 and 3.
2. A new table is added. It will be given the 'ID' number of 11. This is because table 10 still exists and is the current highest table number. Note that the table numbers run across ALL Tabs so the highest table number may not be on the Tab you are currently editing.
Example 2
1. There are 10 tables on a floor plan (again, the only floor plan in the establishment). The user deletes all 10 tables.
2. A new table is added. It will be given the 'ID' number of 1. This is because there are now no tables at all and the next available number is therefore 1.