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

Reporting Services UserID Filter

Status
Not open for further replies.

mttorpy

MIS
Feb 26, 2004
29
US
I am writing a sales report and only want the sales persons to see there sales report, so I have set up a column that stores the sales person NTLOGIN so....SalesNet/JDOE. Then in the data portion of the Report look like this:

Select * from JulyComm where AELOGIN = User!UserID

Getting errors:
Incorrect syntax near '!'

Any ideas???

Should I be approaching this differently perhaps in a filter....how is that done?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top