p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 17th, 2009, 04:33 AM
Authorized User
Points: 55, Level: 1
Points: 55, Level: 1 Points: 55, Level: 1 Points: 55, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2008
Location: , , .
Posts: 12
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 11:07 AM
Report Designer & Visual Studio.NET JimReid Reporting Services 0 May 19th, 2006 08: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 24th, 2004 12:30 AM
Phile Page error, visual studio error reps BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 27th, 2003 11:11 AM



All times are GMT -4. The time now is 11:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc