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

thread768-1712491 response

Status
Not open for further replies.

tomcat24

Programmer
Jul 16, 2002
27
0
0
US
thread768-1712491

Your question.

I am working on Crystal Report 2008. After converting 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 have 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.

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

SELECT
l.person_relation.name as auditor
FROM login l
WHERE l.user_role.name = 'Auditor'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top