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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report XI: Prompt using Stored Procedure (oracle)

Status
Not open for further replies.

sudkool

Programmer
Jul 17, 2006
6
US
Hello,
Following is my scenario:
I have two procedures in the package (Oracle). The first procedure just grab the state for all the members and the second procedure grab all the information and have 2 paratmeters in the declaration

PROCEDURE old_members (rpt_cursor IN OUT rpt_type,
rpt_state IN CHAR, rpt_BDate IN VARCHAR2 )
IS .....<procedure body>

Basically I created the first procedure, just to create dynamic values for all the states of the members and use that into the parameter of the second procedure. Both procedures are not linked when called in Crystal XI.

Everything is working fine except one issue

whenever I am refreshing the report, it first give screen to enter the username and password (Database) and then it gives me the window to enter the values of both parameter without using the values from dynamic prompt. Once I set both prompts as null and click ok, it asks me again for username and password and then give me the right values for the state paratmeter and other one is set blank.

I was just curious, how to stop Crystal from prompting again for username and password and giving me the first screen which does not carry to dynamic prompt.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top