|
-
Mar 27th, 2000, 06:34 PM
#1
Thread Starter
New Member
well thanks Vb world exists to help us solve our problem
i would like to do an adhoc query from crystal report.
in other words when i run crystal report from vb5,it asks me for relevant parameters and then retrieve the required fields.For e.g i WANT TO RETRIEVE ALL TRANSACTION FROM 01/01/00 TO 10/10/00
THANKS IN ADVANCE
-
Mar 27th, 2000, 07:43 PM
#2
New Member
Try something like
Report.SelectionFormula = "{TABLENAME.FIELDNAME} > " _
"Date(01,01,1999) AND "{TABLENAME.FIELDNAME} < " _
"Date(10,10,1999)"
ReportTest.PrintReport
If you require the date to be unput at runtime you will have to convert the input into the format Date(dd,mm,yyyy).
Hope this works
-Jamie One-
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
|