[V4MD] convert_1_2 does not preserve RecIDs?
Giacomo Vernoni
giacomo at way-out.it
Thu Sep 27 12:28:49 CDT 2007
Hi Ruslan,
my problem is that I have a project where a .png file is saved with
the name of the RecID: how can I rename that file to the new RecID
after the conversion?
Giacomo
On 27 set 2007, at 19:09, Ruslan Zasukhin wrote:
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list