Skip to Content
author's profile photo Former Member
Former Member

How can i set xml element value as double in crystal report?

Hi all,

I'm using xml as datasource of crystal reprot. The problem is all the data fields of xml datasource are expressed as a string type. Which means I can't have summary group of some fields that should be double type. Even, the type setted dataset are not helpful. All data fields are string type.

So, is anybody has any iear about that?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 11, 2011 at 12:39 PM

    In Crystal, you can simply create a formula using ToNumber() or cDbl() to convert the text to a number.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2011 at 02:26 PM

    Moved to Report Design forum

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.