How to identify user running crystal report

SOLVED

Does anyone have a creative suggestion on how to display the sage 100 user who is running a custom crystal report on the report so I can link to the AR salesperson?

I’m trying to find a way to suppress information on a custom crystal report where the user/salesperson running the report can only see data for their territory. The salesperson file has the sage user key linked to it..but can’t find a way to identify the user who is running the report.

This is for v2017.

Top Replies

Parents Reply
  • 0 in reply to FormerMember

    I thought I had this figured out but in my suppression formula I have this which isn't working. It suppresses if even your a user in the formula:

    {@PrintedByUser} <> "PHILIP" OR {@PrintedByUser} <> "GARY" OR {@PrintedByUser} <> "KIRK" OR {@PrintedByUser} <> "CH" OR {@PrintedByUser} <> "CHRISTINE"

    It only works it I have one user in the formula:

    {@PrintedByUser} <> "PHILIP" 

    It's probably because I have OR and the <> and the logic isn't working right.

    Anyone know of another way to go about this. I want to suppress sections based on who is printing report. Using Crystal Syntax in section expert suppression formula.

    Thanks!

Children