Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old October 15th, 2003, 05:39 AM
Authorized User
 
Join Date: Jun 2003
Location: Makati City, , Philippines.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Dhodie
Default


Right click on the Formula then click on Format Field.
Format Editor window will be shown and from the Date/Time Tab
choose your desired date format. It is assumed that your formula
field is a Date/Time type.


-Dhodie
Reply With Quote
  #12 (permalink)  
Old October 15th, 2003, 05:50 AM
Authorized User
 
Join Date: Oct 2003
Location: , , Singapore.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know it can be done if the field is database field.
But for formula field, it doesn't provide the Date/ Time format.


Reply With Quote
  #13 (permalink)  
Old October 15th, 2003, 11:41 AM
Registered User
 
Join Date: Oct 2003
Location: Edison, NJ, USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try this:

If IsNull({WOS.Date_Sum}) Then
   "-"
Else
  ToText({WOS.Date_Sum}, 'dd/MM/yyyy')

Result value should be = eg. 18/08/2001

HTH
Akhtar

Reply With Quote
  #14 (permalink)  
Old October 15th, 2003, 07:44 PM
Authorized User
 
Join Date: Oct 2003
Location: , , Singapore.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Akhtar,

Thanks.
Have a blessed day.

Rgds,


Reply With Quote
  #15 (permalink)  
Old October 16th, 2003, 03:25 AM
Authorized User
 
Join Date: Oct 2003
Location: , , Singapore.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi! I would like to do case statement in the formula.
How to use the "select case : default: "?

Case "A"
formula = "CaseA"

Case "B"
formula = "CaseB"

Case "C"
formula = "CaseC"

.
.
.
etc...

Please Help.

Thanks

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with formula Juan0214 Access 4 August 1st, 2008 07:25 AM
Formula scandalous Access VBA 11 February 27th, 2007 09:49 AM
formula sinha Crystal Reports 1 October 26th, 2005 12:53 PM
Help with a formula Corey Access 2 October 20th, 2005 10:48 AM
Formula Ned Pro VB 6 2 September 10th, 2003 10:26 AM



All times are GMT -4. The time now is 09:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.