This might be a built-in feature that I'm missing, but I could use some help.
I designed an application that has a Linked Grid, showing the customer information for the address highlighted in the Parent Grid. Currently, the Linked Grid shows existing customer information (if it exists) AND displays a new row to add another customer (or, if no customer information has been added yet for that address, only the blank, new row is shown). It's working properly.
When I designed the application, my client told me he wanted the ability to have multiple customers for a single address. However, after using the application for several months, they've learned that this is not working for them and is causing confusion on orders placed... They no longer want to have multiple customers for a single address.
So, I want my Linked Grid to show EITHER:
Hmm.. That's been a challenge. I can use Grid Properties to display only 1 record that can be edited OR I can make the grid "Add New Record Only", but I haven't found an easy way to get it to display the existing record if it exists OR a "new row" if it doesn't. I've tried setting the grid NOT to allow Insert (no new record row), which displays a "blank" grid if there's no information AND has a Action Button to open a pop-up where the user can enter and Submit the "new" information to the table, but that's a little clumsy for my taste. I prefer that the Linked Grid allows Insert-only, if no information exists and Update Only, if customer information is present.
I can probably do it easily if there were a method to "Show/Hide" the "new record" row, conditionally... but I haven't figured out if that option even exists... or how to program it.
I hope there's someone out there who has a suggestion for me.
Thanks for your help.
Phil
I designed an application that has a Linked Grid, showing the customer information for the address highlighted in the Parent Grid. Currently, the Linked Grid shows existing customer information (if it exists) AND displays a new row to add another customer (or, if no customer information has been added yet for that address, only the blank, new row is shown). It's working properly.
When I designed the application, my client told me he wanted the ability to have multiple customers for a single address. However, after using the application for several months, they've learned that this is not working for them and is causing confusion on orders placed... They no longer want to have multiple customers for a single address.
So, I want my Linked Grid to show EITHER:
- The existing customer (if it already exists) information that can be Updated/Edited (but NOT add a new record), OR
- Only a "new record row" for the user to add the customer information (if none has been added previously for that address)
Hmm.. That's been a challenge. I can use Grid Properties to display only 1 record that can be edited OR I can make the grid "Add New Record Only", but I haven't found an easy way to get it to display the existing record if it exists OR a "new row" if it doesn't. I've tried setting the grid NOT to allow Insert (no new record row), which displays a "blank" grid if there's no information AND has a Action Button to open a pop-up where the user can enter and Submit the "new" information to the table, but that's a little clumsy for my taste. I prefer that the Linked Grid allows Insert-only, if no information exists and Update Only, if customer information is present.
I can probably do it easily if there were a method to "Show/Hide" the "new record" row, conditionally... but I haven't figured out if that option even exists... or how to program it.
I hope there's someone out there who has a suggestion for me.
Thanks for your help.
Phil
Comment