VOXPorter and description field in fieldspec

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
baramuse
Posts: 108
Joined: Tue Nov 29, 2022 8:31 am
Location: France

VOXPorter and description field in fieldspec

Post by baramuse »

Hi,

we've noticed that we lost one information when porting ou database definitons to X# using VOXPorter.

It looks like the "Description" field in VO does get lost and nowhere to be found in the .xsdbs nor .xsfs generated files :

in VO DB designer :
Image

and resulting ported .xsdbs (after VOXPorter) :

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Designers>
<DBServer Name="ComCmd">
<classname>ComCmd</classname>
<hlcaption>ComCmd</hlcaption>
<hldescription>Commandes</hldescription>
<hlhelpcontext>ComCmd</hlhelpcontext>
<rdd>&lt;Auto&gt;</rdd>
<filename>ComCmd.dbf</filename>
<noaccass>No</noaccass>
<superclass>PGSDBSERVER</superclass>
<Fields>
<Field Name="NUMCMD">
        <fldname>NUMCMD</fldname>
        <included>1</included>
        <pos>1</pos>
        <FieldSpec>ComCmd_NUMCMD</FieldSpec>
      </Field>
When using the X# DB designer the resulting .xsdbs is ok :

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Designers>
<DBServer Name="ComCmd">
<classname>ComCmd</classname>
<filename>ComCmd.dbf</filename>
<hlcaption>ComCmd</hlcaption>
<superclass>PGSDBSERVER</superclass>
<hldescription>Commandes</hldescription>
<hlhelpcontext>ComCmd</hlhelpcontext>
<share>
</share>
<ro>
</ro>
<rdd>&lt;Auto&gt;</rdd>
<order>0</order>
<noaccass>No</noaccass>
<Fields>
      <Field Name="NUMCMD">
        <fldname>NUMCMD</fldname>
        <pos>1</pos>
        <included>1</included>
        <caption>
        </caption>
        <description>[CLE UNIQUE]</description>
        <FieldSpec>ComCmd_NUMCMD</FieldSpec>
      </Field>
Regards.
User avatar
Chris
Posts: 5472
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: VOXPorter and description field in fieldspec

Post by Chris »

Hi Basile,

Did a quick test and seems to work ok here, there must be some difference that I'm not thinking of. Does this happen with all fieldspecs in your app(s). Can you please send me a VO module .mef (or app) with dbservers from your app to test with it here?
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
baramuse
Posts: 108
Joined: Tue Nov 29, 2022 8:31 am
Location: France

Re: VOXPorter and description field in fieldspec

Post by baramuse »

Chris wrote: Wed Oct 29, 2025 12:57 am Hi Basile,

Did a quick test and seems to work ok here, there must be some difference that I'm not thinking of. Does this happen with all fieldspecs in your app(s). Can you please send me a VO module .mef (or app) with dbservers from your app to test with it here?
Hi Chris I have the .mef but I can't seem to be able to send you a PM:

General Error
Module not accessible
Please notify the board administrator or webmaster: website@xsharp.eu
User avatar
Chris
Posts: 5472
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: VOXPorter and description field in fieldspec

Post by Chris »

Hi Basile,

Please send it directly chris at xsharp eu
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply