Dchall_San_Antonio Posted June 14, 2007 Author Posted June 14, 2007 The value list is defined to show only values from related records. Only documents with the same DocumentID are related. Is this defined somewhere? Or is it just the way value lists work. Won’t the value list be alphabetized whether I want it to be or not? Yes. If you need a different order, then this method is not suitable. You could use the List() function, but that will not delete the duplicates. You may need a custom function to accomplish this. Can the value list be tricked into putting the comments into the order they were read?
Genx Posted June 14, 2007 Posted June 14, 2007 Is this defined somewhere? Or is it just the way value lists work. There are three types of lists: 1) Static 2) From other file 3) From Field (these can be relational) - Take a look at how the list has been defined (go into layout mode File -> Define -> Value lists. I don't get the second q.
Dchall_San_Antonio Posted June 14, 2007 Author Posted June 14, 2007 File > Define > Value Lists is where I was looking. I'll brush up on value lists in the help and elsewhere. Second Q: The value list is going to alphabetize the contents based on the first characters of the value. If each line of the contents carried a different character (- | # $ etc.), number, or letter as the initial character(s), it would alphabetize on that initial character(s). Do you clever guys have a way to do that?
comment Posted June 14, 2007 Posted June 14, 2007 I wouldn't go that way. If you absolutely must have them in the original order, use a custom function to de-dupe the list - or go back to meticulous looping.
Dchall_San_Antonio Posted June 14, 2007 Author Posted June 14, 2007 Just to demonstrate what a comment field might look like when sorted, here's my previous reply to Genx sorted... and elsewhere. clever guys have a way to do that? File > Define > Value Lists is where I was looking. I'll brush up on value lists in the help of the value. If each line of the contents carried a different character (- | # $ etc.), number, or letter as the initial character(s), it would alphabetize on that initial character(s). Do you Second Q: The value list is going to alphabetize the contents based on the first characters The only field that really needs to retain its integrity is the comments field.
comment Posted June 14, 2007 Posted June 14, 2007 I think the problem is clear. Using a value list eliminates the duplicates - but it also sorts the values. I don't see a way around that, so I suggest again you look for an alternative method.
Dchall_San_Antonio Posted June 14, 2007 Author Posted June 14, 2007 I'm trying to figure out how I could loop on the comments without deleting the extra records, then use the value list in a second process to group the names. Interesting puzzle.
Recommended Posts
This topic is 6373 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