?
Solved

Crystal Formula

Posted on 2012-09-06
3
Medium Priority
?
408 Views
Last Modified: 2012-09-06
Hi,

i have field which is coming as below:

Field name: Tag1                                    
 values: 1.000 - 2.000
              3.000 - 5.000    
             10.000 - 32.000

Now i need to show this field called tag1 as 1 - 2, 3 - 5, 10 - 32. ie, need to remove the decimals. But since this field is string type i can't do it. Any ideas.

thanks
0
Comment
Question by:shirighimire
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
James0628 earned 2000 total points
ID: 38374056
If it's _always_ going to be ".000", you could use

Replace ({Tag1}, ".000", "")

 That will replace every ".000" in the field with nothing (ie. remove those characters).

 If you could have other values (eg. "1.500 - 2.148"), that would be a bit more complicated.

 James
0
 

Author Closing Comment

by:shirighimire
ID: 38374138
Thanks a ton!!!
0
 
LVL 35

Expert Comment

by:James0628
ID: 38374241
You're welcome.  Glad I could help.

 James
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question