-
VB using Crystal Reports
I have a VB program that runs a Crystal Report.
Private Sub cmdCreateReport_Click()
CRCreateReport.Action = 1
End Sub
The report runs fine but at the start of the report the user has to enter a number so the report knows what data to retreve for it's report. This question is part of the Crystal Report itself but I would like to enter this number from the VB program. Is there any way to do this ????
-
Try:
CRCreateReport.ParameterFields(0) = "ParameterName;Value;true"
Obviously, you should replace ParameterName with name of the parameter whose value you want to set, and Value with the desired value.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks