VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



crystal report date range

by Jimmy_ (3 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Print a crystal report in a certain date range

Rate crystal report date range

report.ReportFileName = gvPath & "\cheques.rpt"
report.CopiesToPrinter = InputBox("How many copies would you like to print")
report.SelectionFormula = "{cheques.date} in Date (" & Format$(Startdatetextbox.Value, "yyyy,mm,dd") & ") to Date (" & Format$(enddatetextbox.Value, "yyyy,mm,dd") & ")"
report.ReportTitle = "Report between" & " " & Format$(Startdatetextbox.Value, "long date") & " " & "and" & " " & Format(enddatetextbox.Value, "long date")
report.Action = 1

Download this snippet    Add to My Saved Code

crystal report date range Comments

No comments have been posted about crystal report date range. Why not be the first to post a comment about crystal report date range.

Post your comment

Subject:
Message:
0/1000 characters