To load the outlet numbers into the database you need a text file in CSV (Comma-Separated Values) format. This can be generated from a spreadsheet package. One file is needed per building, and the columns must be Flat/Block number, Room number, Outlet number Further columns may be added for comments but will be ignored by the database. Every outlet must be listed on a separate row. A spreadsheet to generate the data might look like this:
Flat/Block | Room | Outlet |
---|---|---|
1 | 1 | 14 |
1 | 1 | 15 |
1 | 2 | 17 |
1 | 2 | 19 |
1 | 3 | 11 |
1 | 4 | 26 |
1 | 5 | 27 |
1 | 6 | 28 |
1 | 7 | G35 |
1 | 8 | G36 |
1 | 9 | G37 |
The CSV file would look like this:
1,1,14 1,1,15 1,2,17 1,2,19 1,3,11 1,4,26 1,5,27 1,6,28 1,7,G35 1,8,G36 1,9,G37
The example shows two rooms that have more than one outlet. For buildings that do not have flats or block numbers, the first column must be left blank.