So basically what I have is a form with a subform in it. The main form has all these drop downs and check boxes and fill ins that determine which records show up in the subform. Then there are command buttons that are supposed to run reports or make changes based on the records selected in the subform.
So for example: I want to select all our board members who are not on our paperless member program. So I check the box for board members and the box for paperless which has a Y/N drop down and I select No. So my subform (which is just a data table view below the selectors) fills in all the board members who aren't part of the paperless program. There are 14.
Now there is a command button called Global Add with which I can add the same memo (among other things) to a bunch of records at the same time based on the selections in the subform. I click that button, and it's supposed to fill a temp table with the records selected, then takes me to a new form where I add the memo text, then I click the ADD command button and it's SUPPOSED to add that memo ONLY to those 14 records. Instead, it's adding them to every record in the database. The temp table is not being updated properly.
Any thoughts? I appreciate any help I can get. I'm pretty novice with VBA. I can read a lot of it, and I'm decent at copying code and tweaking it (which is how I did this, but copying the code from a working database and pasting it into a new version I'm trying to create) but I've never written code from scratch.
Thank you!
So for example: I want to select all our board members who are not on our paperless member program. So I check the box for board members and the box for paperless which has a Y/N drop down and I select No. So my subform (which is just a data table view below the selectors) fills in all the board members who aren't part of the paperless program. There are 14.
Now there is a command button called Global Add with which I can add the same memo (among other things) to a bunch of records at the same time based on the selections in the subform. I click that button, and it's supposed to fill a temp table with the records selected, then takes me to a new form where I add the memo text, then I click the ADD command button and it's SUPPOSED to add that memo ONLY to those 14 records. Instead, it's adding them to every record in the database. The temp table is not being updated properly.
Any thoughts? I appreciate any help I can get. I'm pretty novice with VBA. I can read a lot of it, and I'm decent at copying code and tweaking it (which is how I did this, but copying the code from a working database and pasting it into a new version I'm trying to create) but I've never written code from scratch.
Thank you!
Last edited: