[V4MD] convert_1_2 does not preserve RecIDs?

Giacomo Vernoni giacomo at way-out.it
Thu Sep 27 12:05:45 CDT 2007


Hi,

I'm having trouble with the convert_1_2 function in V4MD: it seems  
that RecIDs are not the same after the conversion.

Example:

table myTable, V4MD version 1

recid 1 - fields of record 1
recid 2 - fields of record 2
recid 3 - fields of record 3
recid 4 - fields of record 4

then DELETE record 2, so you get:

recid 1 - fields of record 1
recid 3 - fields of record 3
recid 4 - fields of record 4

at this point, convert the DB from version 1 to 2 and you will get:

recid 1 - fields of record 1
recid 2 - fields of record 3
recid 3 - fields of record 4

so for example anything that points at RecID 2 on the v1 DB gets data  
from record 3... no good!


I tried to do an XML dump from v1 and load it in VStudio 3 to create  
a new v2 database, but I get XML parser errors and it's a solution I  
prefer not to use.

I really need RecIDs of records to remain the same like with XML dump/ 
load.

Note that I'm still using v3.0.1 Xtra and VStudio, I'm upgrading  
right now to latest version... but a search on the latest months on  
the list gave me no useful information on this issue.

Suggestions?
Solutions?

Thanks,
Giacomo


More information about the Valentina mailing list