Tyra Posted July 17, 2009 Posted July 17, 2009 I am trying to dynamically grab the the fully qualified field/table name from a exit trigger script for updating the same field in another record. I have normally use a cogitation of Get(ActiveFieldName) & Get (ActiveFieldTableName). Thought I could simplfy this by using: GetFieldName(self), but get the error message "This Function can not be used in this expression". I also tried using:$name= GetFieldName(Evaluate(Get(ActiveFieldName))) But get "?" for the value when exiting the field. What I am doing wrong here?
comment Posted July 17, 2009 Posted July 17, 2009 You cannot use Self in a script, because it has no meaning there. The formula = GetFieldName ( Evaluate ( Get(ActiveFieldName) ) ) should work. If you're getting a ? then probably there is no field active at the time of evaluation.
Tyra Posted July 18, 2009 Author Posted July 18, 2009 Thanks Comment, Tried the "Self" parameter in a calculation and works fine. Will have to try GetFieldName(Evaluate(Get(ActiveFieldName))) with a modify trigger script instead of a exit trigger script.
comment Posted July 18, 2009 Posted July 18, 2009 modify trigger script instead of a exit trigger script. I am not sure that's your problem.
Recommended Posts
This topic is 5666 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now