I have a fairly simple procedure (using recordsets) that is editing one field in one table, on each of a million or so records. Don't get upset by the number of records, the database works fine, multi-user, with all those records. The single field is a Number, size Long (4 bytes), and when I add the number in using the VBA as follows:
>
FileSet.Edit
FileSet!AirframeID = AcID
FileSet.Update
>
where AirframeID is the Long-Number field and AcID a LONG variable, what happens is that after about 360,000 records the database has grown from 650mb to the 2Gb limit. I then get the Access 3049 error.
So why, when updating a 4 byte-field on 360,000 records does the mdb size grow so dramatically ? I expected the whole million records would only add 4mb to the size. This one's a real puzzle to me. Appreciate help from those more knowledgeable.:banghead:
>
FileSet.Edit
FileSet!AirframeID = AcID
FileSet.Update
>
where AirframeID is the Long-Number field and AcID a LONG variable, what happens is that after about 360,000 records the database has grown from 650mb to the 2Gb limit. I then get the Access 3049 error.
So why, when updating a 4 byte-field on 360,000 records does the mdb size grow so dramatically ? I expected the whole million records would only add 4mb to the size. This one's a real puzzle to me. Appreciate help from those more knowledgeable.:banghead: