Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > BOOK: Professional Crystal Reports for VS.NET
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 23rd, 2009, 07:32 AM
Authorized User
Join Date: Nov 2007
Location: , , Ireland.
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Hughesie78
Default migrating to vb.net and grouping report data.

Hi, Im using VB.NET, migrating vb6 app to .net.
Have a form of drop downs, dates etc, they are all used to pass info to a crystal reporting selection formula, I also want to sort based on an option button selected, each value represent a group on the crystal report.
Previously in VB 6 it was done like this:
If OptSort1.Value = True Then
RptCrystal.GroupCondition(0) = "Group1;{table.PRODUCT};AnyChange;A"
ElseIf OptSort2.Value = True Then
RptCrystal.GroupCondition(0) = "Group1;{ table.PRODUCT_NO};AnyChange;A"
ElseIf OptSort3.Value = True Then
RptCrystal.GroupCondition(0) = "Group1;{ table.SEASON};AnyChange;A"
ElseIf OptSort4.Value = True Then
RptCrystal.GroupCondition(0) = "Group1;{ table.SALES};AnyChange;D"
ElseIf OptSort5.Value = True Then
RptCrystal.GroupCondition(0) = "Group1;{ table.UNITS};AnyChange;D"
End If

Any ideas how I can do the exact same in VB.NET?
Thank You
Reply With Quote

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
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
Access Report Help - Grouping Data by Week Ending derekdeben Access 8 January 18th, 2007 11:24 AM
Grouping Header/Footer in VB 6 Report Design Oyero VB How-To 1 February 18th, 2005 09:29 AM
migrating from vb to c# noman77 VS.NET 2002/2003 2 October 14th, 2004 05:39 PM
migrating data using FOR EACH? krstofer Classic ASP Databases 1 April 15th, 2004 03:48 PM

All times are GMT -4. The time now is 06:32 AM.

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