March 6, 201114 yr Hi there, I have a script that goes to a set of found records. I am trying to concatenate 1 field from each of those records. I need to somehow get my script to create a variable for each found record. Ex. If there are 4 records found I want to set #Variable1--> next record --> $Variable2--> next record --> $Variable3 --> next record -->$Variable4 My problem is I can't figure out how set the variables to accommodate different numbers of records (usually between 1 and no more than 5 records) Any thoughts would be greatly appreciated Chad
March 6, 201114 yr Why not use List ( ) from the parent record? You'd probably receive a better answer, if you describe why you need this.
March 6, 201114 yr Well, List() won't work on a found set (unfortunately) - but knowing the purpose would be quite useful.
March 6, 201114 yr I figured he'd use list thru a relationship, comment. But, you're right to point out that it isn't found set aware. I feel that answering his question without exploring why he feels he needs this technique is not doing him a service.
March 6, 201114 yr I feel that answering his question without exploring why he feels he needs this technique is not doing him a service. No argument on that.
March 6, 201114 yr I feel that answering his question without exploring why he feels he needs this technique is not doing him a service. Also agreed. But would like to note that the preferred way to set and read numbered variables is the repeating variable square bracket format, which is much more easily addressable: $var[1], $var[2], $var[29] etc
Create an account or sign in to comment