Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Dyn Parameter tied to Stored Proc needing CE User Post Reply Post New Topic
Author Message
Steevareeno
Newbie
Newbie
Avatar

Joined: 14 Jan 2009
Location: United States
Online Status: Offline
Posts: 1
Quote Steevareeno Replybullet Topic: Dyn Parameter tied to Stored Proc needing CE User
    Posted: 14 Jan 2009 at 7:50am
I am new here and tried searching for a similar post but did not find one.
 
I am developing a report that has 5 dynamic parameters that feed off of each other:
The Business Unit selection filters Department.
The Department selection filters Cost Center.
The Cost Center selection filters Project Code.
The Project Code selection filters the Year.
 
Currently, I am using a filter table to provide the values, and it works fine in Crystal Enterprise.  However, I need to switch to a Stored Procedure that my DBA developed instead, and it requires the user AD ID to be passed in as a parameter.  The Stored Procedure returns the same fields as the filter table.
 
I can see the stored procedure in the Database Expert, but it asks for the parameter "@NetworkUserID".  I typed in {Current CE User Name}, but when I try running the report, I receive this error:
"Prompting failed with the following error message: 'List of Values failure: fail to get values.'.  Error source: prompt.dll  Error code: 0x8004380D"
 
Any ideas how to properly pass the {Current CE User Name} to the stored procedure?
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.046 seconds.