Sql result in a Report prompt
Hello All,
I am trying to fill a report prompt with values of a sql result.
- It's working fine with this Sql expression: SELECT Employee.Alias FROM Employee WHERE Employee."Manager Alias" = VALUEOF(NQ_SESSION."USER_ALIAS") ORDER BY Employee.Alias
- But when i try with this other one : SELECT A1.Alias FROM Employee As A1, Employee As A2 WHERE A1.Region = A2.Region AND A2.Alias = VALUEOF(NQ_SESSION."USER_ALIAS") ORDER BY A1.Alias, it's not working anymore...
Please could you help me finding what is going wrong?
Regards
Yann
1