Link to home
Start Free TrialLog in
Avatar of JDCam
JDCam

asked on

Change Sproc name in crystal 10

Hello,
I have a Crystal report that uses a stored procedure to return most of the data. At the database level (SQL Server)  I have altered the stored procedure slightly under a new name. At the database level, both procedures exist and function as desired.

In Crystal, without having to redo from start, how do I change the report to point to the new version of the stored procedure. In Database expert, I do not see the new one, only the old. Why can't Crystal see it? permissions for both are the same and owner is dbo.


Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Database>Set Datasource location
Avatar of JDCam
JDCam

ASKER

peter57r,
when I goto 'Set Datasource Location' the new sproc does not appear on the bottom half of the screen, only the original.

I have logged off/on to try to get it to refresh the list but no luck so far.
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland 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
Avatar of JDCam

ASKER

Partial Sucess !!
it was permissions. I found on the original there was a user 'db_executor', when added to the new version it immediatly became visible in Crystal

now, how to change it in crystal..  Set data location dosent appear to change it. Maybe it only works on proper tables.
Avatar of JDCam

ASKER

Actually, it looks like it does work. It updates the procedure, just fails to update the name. A simple right click rename and everything is good.

Thanks,