|
-
January 6th, 1999, 10:28 PM
#1
Crystal Reports
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.
-
January 10th, 1999, 03:49 AM
#2
Re: Crystal Reports
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
[email protected]
-
January 10th, 1999, 09:45 AM
#3
Re: Crystal Reports
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
-
January 18th, 1999, 11:36 AM
#4
Re: Crystal Reports
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|