Book a Demo

Author Topic: DAO.Recordset [3022]  (Read 4844 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
DAO.Recordset [3022]
« on: August 11, 2011, 11:42:35 am »

I'm getting this error when I drag a package into a model document container.
A project integrity check shows nothing wrong.

What can I do, I can't complete a document  
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: DAO.Recordset [3022]
« Reply #1 on: August 11, 2011, 05:19:22 pm »
You could check the dbError.txt (since 9.0 located in the %appdata% and no longer in the program files folder)
That usually gives you some more details about the issue.

Geert

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: DAO.Recordset [3022]
« Reply #2 on: August 12, 2011, 07:56:41 am »
Thanks
Quote
12/04/2011 2:51:00 p.m.
DAO.Recordset [3022]

The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship.  Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.

Context:
      SQL: Select * from t_object where Object_ID=0
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: DAO.Recordset [3022]
« Reply #3 on: August 12, 2011, 10:38:00 pm »
Tools | Data Management | Reset IDs, then select Reset All Tables and press Go button may solve the issue.

--
t-kouno

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: DAO.Recordset [3022]
« Reply #4 on: August 15, 2011, 10:08:15 am »
Quote
Tools | Data Management | Reset IDs, then select Reset All Tables and press Go button may solve the issue.

Great tip thanks. I don't think this was the issue in my case.
I seem to have got round the problem by doing a compact and repair using Access.


« Last Edit: August 15, 2011, 10:09:45 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.