[V4MD] convert_1_2 does not preserve RecIDs?
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Sep 27 12:09:26 CDT 2007
On 27/9/07 8:05 PM, "Giacomo Vernoni" <giacomo at way-out.it> wrote:
Hi Giacomo,
RecID are changed, but it also update all values of ObjectPtr fields.
> 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?
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list