Hi,
Am planning Access / ASP pages to allow me to index references, and search by field. The database contains fields for 'category','subject','keywords', and then 'location'. What I hope to do is provide a list of all the categories, or keywords, depending on what is chosen (as well as search facilities and index listing).
So, I know how to connect to the database, and pull recordsets, but what is the easiest way to retrieve all the entries present in one field, remove duplicates so each entry (e.g. category) is only displayed once, then sort alphabetically? Cannot 'fix' categories as may change as more are added.
Not asking for code as I have not started writing the pages yet but am trying to build up the principles in my head first!
Cheers.
Am planning Access / ASP pages to allow me to index references, and search by field. The database contains fields for 'category','subject','keywords', and then 'location'. What I hope to do is provide a list of all the categories, or keywords, depending on what is chosen (as well as search facilities and index listing).
So, I know how to connect to the database, and pull recordsets, but what is the easiest way to retrieve all the entries present in one field, remove duplicates so each entry (e.g. category) is only displayed once, then sort alphabetically? Cannot 'fix' categories as may change as more are added.
Not asking for code as I have not started writing the pages yet but am trying to build up the principles in my head first!
Cheers.