I hope I explain this well.
I am designing a database for a summer bowling league. This league's teams change weekly based on a blind draw. So I check in each bowler each week.
I have a table Score to capture the games bowled. This table has a Primary Key ScoreID (auto numbered) and it has a Foreign Key (ChkInID) which is PK in CheckInBowler table. The Score table is designed so that there is one record per bowler per game.
So what I want to do is use VBA to create 3 new records in the Score table whenever a new record is created in the CheckInBowler table.
Since I am new to VBA, googling it was not helpful, I did not understand what I was seeing, nor do I know where to put it. I have a form to check in the bowlers, do I put the code there as an event? Maybe on afterupdate to the CheckInID field?
Thank you! Robecca
I am designing a database for a summer bowling league. This league's teams change weekly based on a blind draw. So I check in each bowler each week.
I have a table Score to capture the games bowled. This table has a Primary Key ScoreID (auto numbered) and it has a Foreign Key (ChkInID) which is PK in CheckInBowler table. The Score table is designed so that there is one record per bowler per game.
So what I want to do is use VBA to create 3 new records in the Score table whenever a new record is created in the CheckInBowler table.
Since I am new to VBA, googling it was not helpful, I did not understand what I was seeing, nor do I know where to put it. I have a form to check in the bowlers, do I put the code there as an event? Maybe on afterupdate to the CheckInID field?
Thank you! Robecca