"Select All" checkbox in multi-record form

Good Day!

I have created a multiple records form. It shows a checkbox in each row after the row number. This checkbox allows me to select one or more rows for update or delete. Is there a way to create a “select all” checkbox in the column header for this? I would like to be able to select all records on the page and apply my update or delete function.

I have already read in the forum that I can create a new checkbox field and select “Mark every column” which puts a “select all” in the column header. This isn’t a very good solution since there is now two checkboxes next to each other in each row and is going to be very confusing to the user unless I can hide the original row selection checkbox.

Does anyone have any ideas or maybe a solution?

Thanks for your time!

Chip