I don't know how to accomplish the following. If someone could suggest a few ideas that would help me get started:
- Given a list of books in a grid
- Given each book displays it's assigned owner
- Given that the grid has a "checkbox select column"
Here is what I would like to do, add a Toolbar Action button to the grid that would perform the following:
- Prompt the user to select a new owner from a list of owners that come from a table called owners. The owner must be selected from the owner table.
- Confirm that the user wants to assign all of the "checkboxed" books to the selected owner.
- If the user confirms the action then the following fields for each book record that is "checkboxed" will be updated: Owner_ID, Owner and Assigned_Date.
- The user would receive a confirmation message when all books are re-assigned.
Specifically here is what I don't understand how to do:
- How to prompt the user to select a new owner and how to assign the owner_id and owner to a variable that can be used elsewhere.
- How to prompt the user to confirm that they want to perform the re-assignment action.
- How to iterate through the book records and only update the ones that are "checkboxed".
- How to prompt the user with a confirmation message at the end of the re-assignment.
Thank you in advance for any one's assistance,
CPGood
- Given a list of books in a grid
- Given each book displays it's assigned owner
- Given that the grid has a "checkbox select column"
Here is what I would like to do, add a Toolbar Action button to the grid that would perform the following:
- Prompt the user to select a new owner from a list of owners that come from a table called owners. The owner must be selected from the owner table.
- Confirm that the user wants to assign all of the "checkboxed" books to the selected owner.
- If the user confirms the action then the following fields for each book record that is "checkboxed" will be updated: Owner_ID, Owner and Assigned_Date.
- The user would receive a confirmation message when all books are re-assigned.
Specifically here is what I don't understand how to do:
- How to prompt the user to select a new owner and how to assign the owner_id and owner to a variable that can be used elsewhere.
- How to prompt the user to confirm that they want to perform the re-assignment action.
- How to iterate through the book records and only update the ones that are "checkboxed".
- How to prompt the user with a confirmation message at the end of the re-assignment.
Thank you in advance for any one's assistance,
CPGood
Comment