Alphanumeric data – best field for sorting
-
Hi Roland/all,
I’m looking to sort records containing an alphanumeric data field (‘plot number’) and wondered what the best field type in PDB would be? This would be for a range of data starting at 1 through to 130 with some records having a or b appended to the number (so 1a, 2, 3, 4, 5a, 5.100b, 101, 102a and so on) I’ve experimented with text-line and rich text but once my data goes higher than 10, the sort no longer works. I have re-created a new table from scratch as there was a suggestion that the table I was using might have been corrupted in some way but that hasn’t changed the result. I have read some information on VARCHAR but not clear on how this would translate in PDB.
This alphanumeric data (‘plot number’) is used as the primary record identifier (the data represents plots of land and is a mostly static list of plots with the occasional plot being split resulting a single plot number then being appended with ‘a’ or ‘b’ and also changed back to a single number).
As occupancy of the plot records change, the remaining fields in the record are edited as required.
I use the ‘plot number’ as the Duplicate record check field when importing changes to the database which works well as there are two teams that update the table I import and we all use plot as theAny suggestions are most welcome 🙂
Thanks,
Craig
The topic ‘Alphanumeric data – best field for sorting’ is closed to new replies.