Re: autonummering in table gives problems



You should be able to copy and paste the records up to that point, then
manually recreate the "bad" records in the new table, then copy and past the
records follwing the bad records. Then it is likely that your original
sequence of AutoNumber identifications may be regenerated (but don't count
on AutoNumbers to be anything except "unique").

Sometimes I just get into a rut and assume that most everybody has some VBA
and DAO experience. Sorry.

Larry Linson
Microsoft Access MVP

"red zebra" <redzebra@xxxxxxxxxxx> wrote in message
news:FgVYe.37$Aj4.1772@xxxxxxxxxxxxxxxxxx
> Thanks for your quick reaction. I made the new database with all the
> elements (tables, query's, forms...)
> All the records from the other tables are copied (copy and paste from
> the original database). There's only one table (the damaged one) where
> from i have to copy the files. This table is the only table were the ID
> is autonummering. you wrote that i need to write code to copy the
> records from this table. Is there another way (copy and paste?) to copy
> those records? Writing code is not one of my capebilities.
> Can you give me an exemple of that code ? When i have an example, i can
> adapt the terms to my database and use it.
> Thanks for helping me a lot !
> Have a nice weekend
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


.



Relevant Pages

  • Re: book publishing database--design question about tabbed forms
    ... Building a database is like building a house... ... if you care about that Autonumber then best to ... which my query and tabbed form became essentially read-only--unable to be ... click a desired tab. ...
    (microsoft.public.access.tablesdbdesign)
  • RE: Set value of one field depending on result of next record in q
    ... The autonumber issue should not be a problem. ... table" query to deal with the issue that S Clark offered a solution with. ... > See http://www.QBuilt.com for all your database needs. ... >> Michael Bond ...
    (microsoft.public.access.queries)
  • Re: Renumbering records
    ... Autonumber is just a special kind of default value, ... represent the sequence in which the records were added. ... I wanted to maintain that order and I thought the database ... That would be a regular replica, ...
    (microsoft.public.access.replication)
  • Re: Simple between and query
    ... What I figured out on my own was to created the ID as an autonumber. ... school database Students and Courses need to be in separate tables. ... hide original message or reply text. ... Phonebook table and a FaxNumber: ...
    (microsoft.public.access.queries)
  • Re: Non-unique KeyIDs (Autonumber) in Access 2000
    ... The problem is creted by a database tool we developed to help fix our ... Dim WS As Workspace, DB As Database, TempDB As Database ... it creates an autonumber than is the same as an existing ... >> We have a problem with an Access 2000 table where the KeyID field was ...
    (microsoft.public.access.tablesdbdesign)