Book a Demo

Author Topic: DAO.Recordset Errors after File Transfer from EAP to EAPX  (Read 8182 times)

Rich Anderson

  • EA User
  • **
  • Posts: 142
  • Karma: +8/-0
    • View Profile
    • LinkedIn
DAO.Recordset Errors after File Transfer from EAP to EAPX
« on: September 19, 2018, 06:32:58 pm »
Hi There, I recently migrated my repository to EAPX (Jet 4) using the file transfer utility.  Now, every time I attempt to add a new element to a diagram or a connection between two elements, I get the DAO.Recordset[3022] error that says the change was not successful because duplicate values would be created. I did an integrity check and it comes back clean.   So, I have reverted back to EAP, for now.       

I am using the most recent Release 14.1.

I would like to start using EAPX, if I can, but this is stopping me.  Anyone have any ideas or experience with this one?
Rich Anderson
Urgnt Limited

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #1 on: September 19, 2018, 07:20:55 pm »
I remember this (long time ago) with a MySQL where the ODBC was misconfigured. In your case you should just send a bug report/context Sparx via mail.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #2 on: September 20, 2018, 09:33:09 am »
Hey Rich,

After you transfer the project, you need to compact the file.  This will reset the internal counters (MSA's equivalent of sequences).  What's happening is that the counters haven't been updated to show the last record added to the DB, so when you add a new record, there's already a record with that ID.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Rich Anderson

  • EA User
  • **
  • Posts: 142
  • Karma: +8/-0
    • View Profile
    • LinkedIn
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #3 on: September 20, 2018, 03:39:45 pm »
Thanks Paolo!  That fixed it!   8) 8) :)
Rich Anderson
Urgnt Limited

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #4 on: September 20, 2018, 05:39:17 pm »
That's probably not an EA bug, I guess?

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #5 on: September 21, 2018, 09:28:14 am »
That's probably not an EA bug, I guess?

q.
I DID send in a defect that the final compress should be part of the project transfer functionality, but I guess that was fixed in a different timeline (binge-watching Continuum on Netflix).

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: DAO.Recordset Errors after File Transfer from EAP to EAPX
« Reply #6 on: September 25, 2018, 09:28:58 am »
I DID send in a defect that the final compress should be part of the project transfer functionality, but I guess that was fixed in a different timeline (binge-watching Continuum on Netflix).

Highly dependent on your reference frame :-)