I just had a thought. I created this system without coding (using wizards,
etc.). But is there a way that I can force the Add command to go to a
specified record (which would be the one after the last, as a new record).
If I could do this, then the AutoNum should begin incrementing correctly
again. I just tried to do this in my Macro, with GoTo, then the offset set
to 4859, which would be the new record. But it didn't work. I am hoping
there is another way to solve this.
"Van T. Dinh" wrote:
> See if the following Microsoft Knowledge Base article helps:
>
> http://support.microsoft.com/kb/257408/en-us
>
> --
> HTH
> Van T. Dinh
> MVP (Access)
>
>
>
> "SusanM" <(E-Mail Removed)> wrote in message
> news:270E8F32-DF41-4B1D-A19A-(E-Mail Removed)...
> > This was working. Access 2000 on Windows 2000. I have 5 tables linked.
> > One
> > of my tables has an AutoNum as primary key. When I go into my form to ADD
> > a
> > new record, it used to go to a new record and add the record, giving it a
> > new
> > AutoNum number. Now, when I attempt to add, the AutoNum field shows me
> > an
> > AutoNum of 640 (which was previously used). This is giving me a Duplicate
> > Rcd error msg. I cannot add any record via the form or via the table.
> > Pls
> > Help!! I did a compact/repair on both the database and the application.
> > I
> > made sure all of the Windows and Office updates are current. I did a
> > system
> > scan and virus updates.
> > One hint: Two wks ago I went on vacation and did a backup. When I test
> > the
> > application against this backup, I can 'add'. The person who did daily
> > backups for me said there were no problems. --- But I have 2 wks of data
> > that
> > has been updated and added to, so don't want to have to lose that if I
> > can't
> > resolve this. They say this problem just occured today. Can anyone help?
> > thank you!
>
>
>