Passing checkbox value from form to other


I have two forms A and B. I wand to get rows in form A and have them selected when displaying form B.
Selected lines/rows are selected using a check box I should tick the check boxes and check selected rows