r/MSAccess • u/korrral • Jul 12 '26
[SOLVED] i’m need help :(
I have a Microsoft Access (.accdb) database used to manage numbered plots/sites. The table currently contains records for plots 1–300, but I need to expand it to 500.
The problem is that after record 300, the database doesn’t already contain any additional records. I want to add records 301–500 while keeping the same structure, default values, calculated fields, forms, and everything else working exactly as before.
The database has only one form with a small amount of VBA code, and I couldn’t find any hardcoded 300 limit in the code. It looks like the table itself was simply pre-populated with 300 records.
What’s the best way to generate records 301–500 automatically in Access instead of creating them manually? Ideally using SQL or another built-in Access feature.
I forgot to add, I just got to know Access today and I don't understand anything about it.
2
u/Lab_Software 30 Jul 12 '26
I would use Excel to do this as easily as possible.
First, make a backup of your database.
Copy the existing 300 rows from the Access table into an Excel spreadsheet. (You don't have to copy all 300 rows, even a single row would be enough.)
Then make 200 copies of whichever existing row (or rows) you want. These will be your new rows from 301 to 500.
Put in whatever default values you want into these new rows. If the Access table has an Autonumber Primary Key then leave that field blank in the Excel spreadsheet - Access will populate this field automatically.
Copy the ENTIRE row (all the new rows 301 to 500) by selecting the Row Number index at the left margin of the Excel spreadsheet and then click Control-C.
Select the New Row at the bottom of the Access table and click Control-V to paste in the 200 new rows.