Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: What does this mean????? Post Reply Post New Topic
Author Message
hlb6
Newbie
Newbie
Avatar

Joined: 02 Aug 2013
Online Status: Offline
Posts: 1
Quote hlb6 Replybullet Topic: What does this mean?????
    Posted: 26 Aug 2013 at 12:33pm
(Select {?p_Period} [5 to 6]
case "12" :
ToText((ToNumber(Left({?p_Period},4))),0,"","")
default :
ToText((ToNumber(Left({?p_Period},4))-1),0,"",""))
&
(select {?p_Period} [5 to 6]
case "12" :
"01"
case "10", "11" :
ToText((ToNumber(Right({?p_Period},2))+1),0)
default:
"0"&ToText((ToNumber(Right({?p_Period},2))+1),0))
 
I am fixing reports that have been developed and I am not sure on this logic.  I am trying to export my data out to excel and two records format way over to the right when they should be to the left with the other records ( They are in a group header)
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 27 Aug 2013 at 4:28am
usually when Excel formats something to the right, it thinks it is a number...

Why Excel does this is anyone's guess.

From the code, one would expect all the values to be treated the same
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.