Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameters & Default Values

Status
Not open for further replies.

bobmorane

Technical User
Jul 2, 2002
38
FR
Hello !
This time this is a very small report (4 formulas, 2 parameters and 7 running totals ! amazing ! ;-) )
i'd like to know, if possible, how to dynamically change the default values in a parameter : in the db i have a DateTime field (called timestamp), and when i create a parameter, with a datetime range, i'd like to add as default values the minimum and the maximum of this timestamp field (which dynamically change)
my report is then integrated in a vb application, can it help to specify these values ??
regards,
bob
 
Since you are launching the report from VB you could create your own drop down list on a VB form, and then pass the selected values to the CR parameter.

Or, you can launch the report from your app using Visual CUT, a third party product. There is a link to this tool on my web site. It can take parameters from a list generated by another report that you create and store in the same directory.

Unfortunately, there are no other ways to make a Crystal Pick List dynamic. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top