I need help. I have never dealt with a LOOP before so I am completely in the dark. I searched the forum but am still unclear. Let me summarize what I am doing and what I want to do.
On frmMainMenu I use a tab control that has a search on one of the tabs. The user enters multiple criteria. I setup a query (qrySearch) to deal with their selections and a form (frmSearch) to display the results of their search. I have placed a check box field in the table being searched. For example, I have ten records in the table. Seven of the records match search criteria. The user wants to change four of the records. Once they have checked the box for each of the four records they want to change, they click on the change button and it opens the last form (frmApplySearchChanges). There are only two fields I am allowing to be updated. They make their selections for the two fields and click "Apply Changes" button and that updates the fields for the four records to be changed.
From my reading of posts I think I need to do the loop on frmSearch when they click the "change" button. I guess that will create the recordset of the four records they want to change. Can I then use the recordset on another form to identify the records to be changed?
I hope this makes sense. All help appreciated. I have no code at this point. I don't even know where to start. All suggestions and tips very much appreciated.
On frmMainMenu I use a tab control that has a search on one of the tabs. The user enters multiple criteria. I setup a query (qrySearch) to deal with their selections and a form (frmSearch) to display the results of their search. I have placed a check box field in the table being searched. For example, I have ten records in the table. Seven of the records match search criteria. The user wants to change four of the records. Once they have checked the box for each of the four records they want to change, they click on the change button and it opens the last form (frmApplySearchChanges). There are only two fields I am allowing to be updated. They make their selections for the two fields and click "Apply Changes" button and that updates the fields for the four records to be changed.
From my reading of posts I think I need to do the loop on frmSearch when they click the "change" button. I guess that will create the recordset of the four records they want to change. Can I then use the recordset on another form to identify the records to be changed?
I hope this makes sense. All help appreciated. I have no code at this point. I don't even know where to start. All suggestions and tips very much appreciated.