Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Trying to get prior day data formula Post Reply Post New Topic
<< Prev Page  of 2
Author Message
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Sep 2009 at 2:22pm
Use that without your LIKE select statement.
It also will ignore the year when it is missing in the string so you have to decide if that logically makes sense for you.


Edited by DBlank - 28 Sep 2009 at 2:23pm
IP IP Logged
u000098
Newbie
Newbie
Avatar

Joined: 28 Sep 2009
Location: United States
Online Status: Offline
Posts: 8
Quote u000098 Replybullet Posted: 29 Sep 2009 at 7:54am
Hey DBlank....This one worked, gave me prior date, but with all of the differernt date formats. 
 
 
Smile
 
 
IP IP Logged
u000098
Newbie
Newbie
Avatar

Joined: 28 Sep 2009
Location: United States
Online Status: Offline
Posts: 8
Quote u000098 Replybullet Posted: 29 Sep 2009 at 8:01am
How about a formula for a line to auto expand?
 
Same table:
 
TEC_T_EVT_REP
 
LONG_MSG
 
 
Thanks again for your awesome assistance.
 Clap
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 29 Sep 2009 at 8:07am

I think you mean you want the field to grow based on the length of the data for that row.

This is handled by setting the field to "Can Grow".
When you place it on the report canvas, right click on it and select Format Field, click onthe Common tab and mark the Can Grow box to true (checked).
This makes the field expand on the Y axis only. It also will expand over other fields that are below it on the same section. To counter act that part you place it on it's on section (like header1b or detailsb).
Is that what you need?
 


Edited by DBlank - 29 Sep 2009 at 8:08am
IP IP Logged
u000098
Newbie
Newbie
Avatar

Joined: 28 Sep 2009
Location: United States
Online Status: Offline
Posts: 8
Quote u000098 Replybullet Posted: 29 Sep 2009 at 10:41am
Yes, got it.  Thanks again...
IP IP Logged
<< Prev Page  of 2
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.