Link to home
Start Free TrialLog in
Avatar of VBBRett
VBBRett

asked on

Why does my dynamic parameter run so slow and then end up with nothing after it checks against the database?

Why is my dynamic parameter report running soooo slow and then after it is done reading the database, nothing populates the page.  What gives?
Avatar of Marcus Aurelius
Marcus Aurelius
Flag of United States of America image

Are you sure you are using the correct FIELD in your parameter?

What are you using in the record SELECTION FORMULA? Is your parameter there?

Like this:  

{Yourtable.field} = {?YourParameter}

Mike V
Avatar of Mike McCracken
Mike McCracken

What data tyoe is the field?

mlmcc
How are you publishing the reports?

Gary
If you are using an enterprise edition...then you may need to have it scheduled to REFRESH instead of refreshing on demand..

Are you using Crystal Reports XI Server or Business Objects XI???

Also,
Avatar of VBBRett

ASKER

I am using Crystal Reports XI report developing tool.  Nothing more.  I was able to make the dynamic parameter by adding another command.  But unfortunately, it doesn't seem to filter like I wanted it to.  Is this because the tables have to be matched up with each other or have joins?  I took the joins out in the Database Command Expert.
The tables need to be joined but you can have a separate command for the parameters that isn't joined to the others

mlmcc
Avatar of VBBRett

ASKER

Yeah, I have something setup something like this I think when i do the formula

Are you sure you are using the correct FIELD in your parameter?

What are you using in the record SELECTION FORMULA? Is your parameter there?

Like this:  

{Yourtable.field} = {?YourParameter}

What data type is your field?

mlmcc
Avatar of VBBRett

ASKER

my dynamic parameter field is of string type.  Thanks for asking mlmcc.
Avatar of VBBRett

ASKER

Now it's crashing that I have them joined.  I have the two command tables joined and when I try to run it for new parameter prompts, it just crashes.  I don't understand what I am doing wrong?
Is one of the tables just for the parameter prompt?  If so don't join it.

Can the strings be lengthy?  If so, then it may be taking quite a while to build the list.

mlmcc
Avatar of VBBRett

ASKER

I unjoined the tables and I got the following errror message

"Prompting failed with the following errror message:"

Error Source:  Error code: 0x80070057
ASKER CERTIFIED SOLUTION
Avatar of Kurt Reinhardt
Kurt Reinhardt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial