I need to create an action called Select All so that users don't need to use the selection feature provided by MS. Just one cliick on the action and all the lines get selected.
I need to create an action called Select All so that users don't need to use the selection feature provided by MS. Just one cliick on the action and all the lines get selected.
Hi, I think you can try the following two methods.
Record.Mark([Boolean]) Method
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-mark-method
Record.MarkedOnly([Boolean]) Method
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-markedonly-method
Hope this helps.
Thanks.
ZHU
Hi,
For this create on field and write code. When it is pressed, all lines selected.
Regards
Amit Sharma
www.erpconsultors.com
Press Yes if info is useful.
So its time to convenience them :)
Precisely, This is what I said when they asked to implement such a feature.
Hi,
Adding more info. We believe less customization and as Mohana said, if we have already that functionality without any customization then why do we require customization.
It looks like it was not clear, but I asked, How can I create an action to select all rows in a list in AL not about a shortcut key.
You can just use Ctrl+A without any action/code.
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
233,013
Most Valuable Professional
nmaenpaa
101,158
Moderator