I am trying to complete a development project but have been a bit stumped. None of my changes break it, but none meet the need. Essentially I have an activites page part that is based off of a cue table. This page shows the status within the sales/purchase cycle based on counting an option dropdown. The goal is to check to see wether the logged in user is a salesperson, and if so filter the cue results by their salesperson code. The cue draws from the Sales Header table so this shouldn’t be an issue.
My most recent attempt was on the form init to:
IF USERID = salesp.Name THEN
Thank you for any input you may have on this subject.