Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 September 17th, 2009, 03:33 AM
Authorized User
 
Join Date: Aug 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Crystal Report in Visual Studio

Hi,

I have developed one crystal report in Visual report having group by one string datatype column. I want to sort this report by one datetime column. So i have set it in VB.net code. Code Looks like this.

If Not sortBy.Contains("GroupByDeliverDate") Then

_fieldDef = report.Database.Tables.Item("PharmacyCost").Fields.Item("DeliveredDate")
report.DataDefinition.SortFields(j).Field = _fieldDef
j += 1
End If


While generating the report, it throws error on above mention line saying"".

"The group options for a date, time or date-time condition field must be a date group options object."

Does anyone have any idea about the error. Please give me some resolution to fix the error.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual studio 2005(32 bit) code not work in visual studio 2008 on windows server 2008 gr8.jain Visual Basic 2008 Essentials 1 August 31st, 2009 10:07 AM
Report Designer & Visual Studio.NET JimReid Reporting Services 0 May 19th, 2006 07:48 AM
Error in Visual studio 2005 fairies ASP.NET 2.0 Basics 2 February 27th, 2006 02:06 PM
One is about Crystal Reports For Visual Studio. Th chenwei5691076 C# 0 April 23rd, 2004 11:30 PM
Phile Page error, visual studio error reps BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 27th, 2003 10:11 AM





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