Not sure, if this is the right place to post...
I have a database with 5 fields and the form with 5 textbox controls: [topic1], [topic2], [topic3], [topic4], [topic5] as well as other text controls.
Two questions:
1. The user can enter 1-5 topics in whatever order in a new record and I want that they are ordered alphabetically, e.g.
user input:
[topic1]:window, [topic2]:bed, [topic3]
B, [topic4]:home, [topic5]
empty)
should be stored as
[topic1]:bed, [topic2]
B, [topic3]:home, [topic4]:window, [topic5]
empty)
2. If, however the user enters a combination (in unordered form) which is already available in the database (in ordered form), than the other text controls should pull up the information already related to this combination.
Have no idea where to start.... Any suggestions?
Thanks, gp
I have a database with 5 fields and the form with 5 textbox controls: [topic1], [topic2], [topic3], [topic4], [topic5] as well as other text controls.
Two questions:
1. The user can enter 1-5 topics in whatever order in a new record and I want that they are ordered alphabetically, e.g.
user input:
[topic1]:window, [topic2]:bed, [topic3]
should be stored as
[topic1]:bed, [topic2]
2. If, however the user enters a combination (in unordered form) which is already available in the database (in ordered form), than the other text controls should pull up the information already related to this combination.
Have no idea where to start.... Any suggestions?
Thanks, gp