Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Development Tools
 Reporting Services Development
 Crystal Report 2008 - SQL Query Not Working
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 06/10/2013 :  18:56:51  Show Profile  Reply with Quote

I'm a newbie on this forum and I am so glad I made it :). I need help on my SQL Query. For some reasons, it's not working anymore after I converted the report template to a new version.

I am working on Crystal Report 2008. After moving the report template to the new version of CR and app, the Command field with SQL Query is not working properly anymore. Basically, the old version Parameters has the list of Auditor names and the Site as well. After the conversion to the new version, I clicked Refresh button, the Auditor and Site fields don't show as Dynamic parameter (as list) although the parameter itself shows as dynamic parameters but instead it's showing as blank fields. It seems that it's not pulling up the correct data table/fields.

The old version Command field has this SQl Query:

select as auditor
from login login
inner join person_relation person_relation
on login.person_rel_id =
inner join user_role user_role
on login.user_role_id =
where = 'Auditor'

Attached are the tables for old and new versions. Some of the fields don't exist to the new version anymore and I don't know how I'm going to fix the old SQL query. Can somebody please help me?

Thanks in advance.

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000