Solved

Crystal Reports Parameters

Posted on 2000-03-28
6
194 Views
Last Modified: 2010-05-18
CR7

I get the possible values for a
parameter field out of a database table.
When I add a record to that database table, how can I automatically add this record to the possible values of that parameter? I really don't want to change my report every time I add a record to that table.

Ok RONSLOW,
But how do you dynamically expand the number of parameter values, from code?

Bart
0
Comment
Question by:TRAB
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:RONSLOW
Comment Utility
It is usually best to drive Crystal from (say) a vb app, as even the new improved tabbed parameter entry dialog is not really that nice.
0
 
LVL 1

Author Comment

by:TRAB
Comment Utility
Edited text of question.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 200 total points
Comment Utility
don't think you can .. unless perhaps id you use the ActiveX control .. it is a lot more flexible.

What I was suugesting is write a little app the does the prompting itself (eg. reads the dat arom the database, populates a combo box and displays a dialog).  It would then open the report, set the parameter values accordinhly and start the report.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Author Comment

by:TRAB
Comment Utility
OK Ronslow, I've come up with that myself, but you get the points.
(I'm just a bit dissapointed it isn't possible)
0
 
LVL 10

Expert Comment

by:RONSLOW
Comment Utility
there are lots of disappointing things in the C++ Crystal interface .. the documentation for one :-)

For exmaple, there is a nifty technique for dynamically changing pictures in reports bassed on data in a database (eg the file name).  But this only works for the ActiveX control .. the C++ interface just doesn't have the hooks one needs.
0
 
LVL 1

Author Comment

by:TRAB
Comment Utility
What I really don't like about Crystal Reports 7 is the graphing functionality. It is so weak. Ever tried to make a diagram with a date-time axis where you want to display minutes?

Thanks again.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now