Notifications
Announcements
No record found.
Hello,
I added command buttons in form, with command "New" and "Delete". The two buttons are displayed but only the "New" works...
An idea ?
Thanks
*This post is locked for comments
What is the actual table access here? You didn't provide relevant background information. Are you using a standard table or did you create a new table for this customization?
If you use the correct form patterns, new and delete buttons are already added on standard forms. What type of form are you trying to create?
yes sure
Thanks for your reply. Sorry. It's a new table with "Max Access Right" = "Delete" (full access so) and I use a "Simple List and Détails -List Grid" pattern.
The commands buttons are used for the grid
Best Regards,
I also forgot that there are 2 data sources: header and lines (grid)
I do not understand, if you have no idea. I'm going to use a Button with OnClicked event to do the delete instead of using a buttonCommand because I just tried it and it works.
with Clicked method not event OnClicked
Hi Dona83,
Have you checked if the command set on the delete button is set to 'DeleteRecord'? The command 'Delete' might be used by you, which is wrong.
Well done André Arnaud, you have found my issue ;-)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2