I have a scenario where I have a default list of products (substantial list that resides in a table of its own), and my customers will select which of those products they want to offer. Ideally, I'd have them go to a list report or tabular report, select the ones they want to offer (with checkboxes) and then create records in the many-to-many associative table based on which items were selected.
What I've considered:
Creating all the dependent records automatically with a status field of "inactive". Then using a view where the updated table is the associative table. Then I could have a grid update page. So far, this seems the best, but I hate creating all of those unnecessary records, and I've struggled to make the grid update look decent.
Creating a list report with a custom button that links to a page where the user can add the association record. What I dislike about this is if they want to pick 10 records they've got to go back and forth between page 1 and page 2 10 times.
The possibility of some custom sql that would create the association records, but I don't think we're able to insert.
Passing some long string that concatenates customerID with each product ID and passing that to a data page that stores that somewhere and have a trigger or task that unwinds the concatenated field (this sounds super-sketchy).
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
DaveS
I have a scenario where I have a default list of products (substantial list that resides in a table of its own), and my customers will select which of those products they want to offer. Ideally, I'd have them go to a list report or tabular report, select the ones they want to offer (with checkboxes) and then create records in the many-to-many associative table based on which items were selected.
What I've considered:
Would welcome ideas - thanks all!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.