![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I have an AccessXP database that I use to produce a month end report. I've used this db for the past 3 years without any issue until this November month end run. It's a split db and when I tried to run it for the November report the back end bloated up to the 2gig limit. I found which table bloated and moved that table to a seperate back end, relinking it to my front end and reran the process and the back end db with just that one table bloated up to the 2gig limit and I don't understand try now, I'm just looping thru the records and updating one field. the db with the one table in it starts with 623977 records and is 98.5megs at that point I run the following vba code to update one field in that table, this code has run for the past 3 years without issue Set MyRec = MyDB.OpenRecordset("tblNewFeatures", dbOpenDynaset) MyRec.MoveLast MyRec.MoveFirst Me!bxCounter.Visible = True Me!bxCounter = 0 Do Until MyRec.EOF MyRec.Edit If MyRec!clm_type = "b" Then MyRec!RptingCat = "Commercial Auto" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "h" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "f" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "w" Then MyRec!RptingCat = "WC" GoTo DidIt4 End If DidIt4: MyRec.Update MyRec.MoveNext Me!bxCounter = Me!bxCounter + 1 DoEvents Loop I just don't understand how a AccessXP backend db of 98.5meg size can grow to its limit of 2gig when I'm just looping thru the records and updating one field as in the above code Anyone have any idea's what's happening or how I can run this? thanks bobh. |
#3
| |||
| |||
|
|
Hi All, I have an AccessXP database that I use to produce a month end report. I've used this db for the past 3 years without any issue until this November month end run. It's a split db and when I tried to run it for the November report the back end bloated up to the 2gig limit. I found which table bloated and moved that table to a seperate back end, relinking it to my front end and reran the process and the back end db with just that one table bloated up to the 2gig limit and I don't understand try now, I'm just looping thru the records and updating one field. the db with the one table in it starts with 623977 records and is 98.5megs at that point I run the following vba code to update one field in that table, this code has run for the past 3 years without issue Set MyRec = MyDB.OpenRecordset("tblNewFeatures", dbOpenDynaset) MyRec.MoveLast MyRec.MoveFirst Me!bxCounter.Visible = True Me!bxCounter = 0 Do Until MyRec.EOF MyRec.Edit If MyRec!clm_type = "b" Then MyRec!RptingCat = "Commercial Auto" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "h" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "f" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "w" Then MyRec!RptingCat = "WC" GoTo DidIt4 End If DidIt4: MyRec.Update MyRec.MoveNext Me!bxCounter = Me!bxCounter + 1 DoEvents Loop I just don't understand how a AccessXP backend db of 98.5meg size can grow to its limit of 2gig when I'm just looping thru the records and updating one field as in the above code Anyone have any idea's what's happening or how I can run this? thanks bobh. |
#4
| |||
| |||
|
|
Hi All, I have an AccessXP database that I use to produce a month end report. I've used this db for the past 3 years without any issue until this November month end run. It's a split db and when I tried to run it for the November report the back end bloated up to the 2gig limit. I found which table bloated and moved that table to a seperate back end, relinking it to my front end and reran the process and the back end db with just that one table bloated up to the 2gig limit and I don't understand try now, I'm just looping thru the records and updating one field. the db with the one table in it starts with 623977 records and is 98.5megs at that point I run the following vba code to update one field in that table, this code has run for the past 3 years without issue Set MyRec = MyDB.OpenRecordset("tblNewFeatures", dbOpenDynaset) MyRec.MoveLast MyRec.MoveFirst Me!bxCounter.Visible = True Me!bxCounter = 0 Do Until MyRec.EOF MyRec.Edit If MyRec!clm_type = "b" Then MyRec!RptingCat = "Commercial Auto" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "h" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "p" And MyRec!PolSym = "f" Then MyRec!RptingCat = "Personal Property" GoTo DidIt4 ElseIf MyRec!clm_type = "w" Then MyRec!RptingCat = "WC" GoTo DidIt4 End If DidIt4: MyRec.Update MyRec.MoveNext Me!bxCounter = Me!bxCounter + 1 DoEvents Loop I just don't understand how a AccessXP backend db of 98.5meg size can grow to its limit of 2gig when I'm just looping thru the records and updating one field as in the above code Anyone have any idea's what's happening or how I can run this? thanks bobh. |
![]() |
| Thread Tools | |
| Display Modes | |
| |