2 Replies Latest reply on Mar 10, 2010 11:31 AM by comment_1

    Go to Related Record with Script Trigger Question

    alexasb_1

      Title

      Go to Related Record with Script Trigger Question

      Post

      I was wondering if anyone could help. I have a table which holds client details for all our advisors. For security reasons, I have this script trigger so that the advisors can only see their own clients and I have it as a script trigger on layout load:

       

      If [ Get ( PrivilegeSetName ) = "Advisors" ]

      Enter Find Mode [ ]

      Set Field [ Clients::title_Next Action By; Get(AccountName) ]
      Set Field [ Clients::Current_Status; "Current" ]
      Perform Find [ ]

      End If

       

      But, on another layout I have a report showing all their outstading action points and have a 'Go to Related Record' button which takes them back to the client table. But, this script trigger doesn't seem to allow them to actually go to the related record (it works fine for everyone else)

       

       

      I have tried other versions of the script trigger, with no success

       

      Does anyone have any thoughts?

       

      Any help is greatly appreciated

       

      Thanks