G
Gee...
I have a simple line to put a date into a table using a form. The tables
have an average of 300,000 records in them and to put in a pre-determined
date I just run:
Private Sub ID_GotFocus()
Date = "08/04/2008"
DoCmd.GoToRecord , , acNext
End Sub
When it's gone through the whole thing and put in the dates, I delete it
because it's only used once...the tables are data for that month so never
update.
My problem is that every 382nd record, it stops and says: :Run-time error
'2105': You can't go th the specified record."
I just hit E to end and scroll one and it continues to run through the
records and insert the date. But then it will go through another 382
records, stop and give me the message again and I have to hit E and scroll.
It's kind of a pain...why does it keep stopping like that and how can I make
it not do that anymore?
have an average of 300,000 records in them and to put in a pre-determined
date I just run:
Private Sub ID_GotFocus()
Date = "08/04/2008"
DoCmd.GoToRecord , , acNext
End Sub
When it's gone through the whole thing and put in the dates, I delete it
because it's only used once...the tables are data for that month so never
update.
My problem is that every 382nd record, it stops and says: :Run-time error
'2105': You can't go th the specified record."
I just hit E to end and scroll one and it continues to run through the
records and insert the date. But then it will go through another 382
records, stop and give me the message again and I have to hit E and scroll.
It's kind of a pain...why does it keep stopping like that and how can I make
it not do that anymore?