Click to See Complete Forum and Search --> : Crystal Reports
SIew Chen Way
January 6th, 1999, 09:28 PM
How do I make crystal reports print a report between a certain date. The one
that I have tried out so far is [in Date " & Beginning & " to Date " & Ending]
but it doesn't work. Please help. This is urgent. Thanks.
Siew Chen Way
January 6th, 1999, 09:28 PM
How do I make crystal reports print a report between a certain date. The one
that I have tried out so far is [in Date " & Beginning & " to Date " & Ending]
but it doesn't work. Please help. This is urgent. Thanks.
wael
January 10th, 1999, 02:49 AM
Hello ,
This code used to print "category_id" which user pass it .
Dim critria as String
critria = Text1.text
Me.Report1.SelectionFormula = "{category.category_id} = ' " + critria + " ' "
make the same
if you want me to mail you the code mail me .
wael farouk ahmed
waelfarouk@hotmail.com
SIew Chen Way
January 10th, 1999, 08:45 AM
I used the formula below. Thnaks for your help anyway. Your help is very much appreciated.
.SelectionFormula = "{Sales_Records.PDate} >= Date " & Beginning & " And {Sales_Records.PDate} <= Date " & Ending
Siew Chen Way
January 10th, 1999, 08:45 AM
I used the formula below. Thnaks for your help anyway. Your help is very much appreciated.
.SelectionFormula = "{Sales_Records.PDate} >= Date " & Beginning & " And {Sales_Records.PDate} <= Date " & Ending
Girish
January 18th, 1999, 10:36 AM
The date related querries are very dangerous. Because when we give 01/01/99, will be taking as the string. You are
comparing one String with a data field, so query will not work. You try this query and try again
Report1.SelectionFormula = "{personnel.DOJ} >= {01-01-95} and {personnel.DOJ} <= {12/01/95}"
Wish you all the best
Girish
Project Manager.
GuildSoft Pvt. Ltd.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.