Skip to Content
avatar image
Former Member

How to configure XML Dataset for Crystal Reports for VS

I made an XML file as dataset for Crystal Reports for Visual Studio. I change the dataset in my old report but every field is string. I need to change the format of this fields but i don't know how to do it. My XML look's like:

<Albaran>
<nombreCliente></nombreCliente>
<direccionCliente></direccionCliente>
<localidadCliente></localidadCliente>
<provinciaCliente></provinciaCliente>
<cif></cif>
</Albaran>

How I add the format to this fields? For example: Number, Name.... like before in TTX files.

I hope you can help me.

Thank you very much.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 29, 2017 at 06:21 PM

    Hi Miguel,

    If you don't create/provide the XSD file to the XML file CR will convert all fields to strings. XSD is the field type for the xml file.

    Don

    Add comment
    10|10000 characters needed characters exceeded