pspafford Posted November 12, 2001 Posted November 12, 2001 Hey kids. I'm looking for something like a Set Field script step to use to sort a return delimited list that is contained in one field. Example: I have a field called ListOfInvolvedEmployees that a script keeps adding names to. Each name is separated by a return, looking like this Andy Nonymous Noah Boddie John Dough I would like the script to make the list look like this Andy Nonymous John Dough Noah Boddie or sort by last name, but I'm sure that this is easier. I know that I could create a separate file viewed through a portal, but I want to be able to index the field for possible relationships. The list could have anywhere from one to twelve names in it. Thanks. Paul
BobWeaver Posted November 12, 2001 Posted November 12, 2001 ValueListItems trick to the rescue again. Set up a self-relationship based on a unique field (such as serial number). Then create a value list based on this relationship using values from ListOfInvolvedEmployees. Then, you can use this Set Field step: Set Field [ListOfInvolvedEmployees , ValuelistItems("myFileName", "MyValueListName")]
pspafford Posted November 13, 2001 Author Posted November 13, 2001 A thing of beauty, Bob. Thanks. Paul
Recommended Posts
This topic is 8415 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