select function used to creat check mark on grid rows

kumar7519

Member
Hi friends,
Need help. when i hit select button on grid row on find/browse form, without selecting any grid row , i need to get check mark on all grid rows. But here it gives error saying "no row selected" any help to achieve this. im on 9.11.
 

Olavo Henrique Dias

Active Member
I'm not sure it's possible to do that. When you click Select, the first thing the system checks is if there is any row selected.

You could maybe create a Form Exit named "Select", hide the original "Select" button and make this Form Exit visible on the Toolbar. Then, on this form exit code you can loop thru all rows and call the "Change Row Selection" system function for each row to set it to "Selected" state. Then, you call the "Press Button (HC &Select)". Ugly, but solves the problem.
 
Top