Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
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 December 9th, 2004, 11:17 AM
Authorized User
 
Join Date: Aug 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Record selectionf formula for date

How can I write recordselectionfomula for date field. I pull out a month from datadropdown list and I want the result for that particular month.
Trying to figure out how to set command.maildate=selected month.
maill date is a sql date field.
 Session.Item("rs") = "{Command.maildate}=" & mnth


If ddlmonth.SelectedIndex <> -1 Then
     Dim mnth As Int16 = ddlmonth.SelectedItem.Value
     Session.Item("rs") = "{Command.maildate}=" & mnth
exportrpt.DataDefinition.RecordSelectionFormula =Session.Item("rs")
End If






Similar Threads
Thread Thread Starter Forum Replies Last Post
Record selection formula and export to pdf sudarshan73 Crystal Reports 0 February 9th, 2006 12:00 PM
creating formula for date ct Excel VBA 1 October 6th, 2005 05:16 AM
help with date formula saf01 Crystal Reports 2 September 12th, 2005 07:07 AM
Formula to convert date format narooma.12 Crystal Reports 0 April 20th, 2005 04:54 PM
Getting date from Calendar 9 into a new record johnkeeb Access VBA 4 November 8th, 2004 11:24 PM





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