Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: is this string possible to convert to date?
Oldest Post First
Newest Post First
Author
Message
ansai
Newbie
Joined: 01 Sep 2009
Location: Philippines
Online Status: Offline
Posts: 11
Topic: is this string possible to convert to date?
Posted: 02 Sep 2009 at 6:52pm
if i have a string of 1256
can it be possible to convert as
Output of:
Mon,Tue,Fri,Sat
TIA!
IP Logged
Jyothi Yepuri
Senior Member
Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Posted: 02 Sep 2009 at 9:18pm
Try this.
stringvar xyz:='1256';
xyz:=Replace(xyz,'1','Mon,');
xyz:=Replace(xyz,'2','Tue,');
xyz:=Replace(xyz,'3','Wed,');
xyz:=Replace(xyz,'4','Thu,');
xyz:=Replace(xyz,'5','Fri,');
xyz:=Replace(xyz,'6','Sat,');
xyz:=Replace(xyz,'7','Sun,');
left(xyz,length(xyz)-1)
Jyothi
IP Logged
ansai
Newbie
Joined: 01 Sep 2009
Location: Philippines
Online Status: Offline
Posts: 11
Posted: 02 Sep 2009 at 10:13pm
Thank you
Jyothi
it works! :D
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.