Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2008, 01:12 PM
Registered User
 
Join Date: Mar 2008
Location: Kenosha, wi, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal Report date format

I have a crystal report with SQL Server as the backend. The date is formatted in mmddyyyy in the SQL Server. I want to give the user the option to display the date as yyyymmdd if they want. How can I programatically do this using VB.Net. I would be using a couple of radio buttons on the form.

Gunnard Fredrickson
 
Old March 3rd, 2008, 03:47 PM
Registered User
 
Join Date: Mar 2008
Location: Kenosha, wi, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

BTW, here is the actual code sample:

 crFormulaDBField1.Text = "{General." & "date" & "}"

Gunnard Fredrickson




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set default format for crystal report as RT shikha09 BOOK: Professional Crystal Reports for VS.NET 0 May 29th, 2007 01:23 AM
export crystal report in txt format mallick_kuet Crystal Reports 0 January 20th, 2007 02:35 AM
V V V Urgent::Crystal report format issue narayanark2003 Crystal Reports 0 July 6th, 2006 07:58 AM
show data in a tree view format in crystal report srithi Crystal Reports 1 February 22nd, 2006 12:33 PM
Crystal Report Date Format comlinearun Crystal Reports 2 May 4th, 2004 06:00 AM





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