July 17, 200916 yr 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?
July 17, 200916 yr 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.
July 18, 200916 yr Author 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.
July 18, 200916 yr modify trigger script instead of a exit trigger script. I am not sure that's your problem.
Create an account or sign in to comment