Question : printing issue

On a file I have several fields with repetitions (vertical) in the  drop down menu format, it allows teachers to select 1- 10 different attributes (value list) for a student,  but this is bulky on the print out and there is no reason to print blanks that were not used by the teacher. I would like the print out to be horizontal with no blanks at the end, or in the middle, if they should chose lines 1,2,3,5,7. with commas separating the data. can you help?

Answer : printing issue

If you create a repeating field called test with 5 repetitons and then create a Field :

Horizontaltext=If(IsEmpty(test[1]);"";test[1])&If(IsEmpty(test[2]);"";","&test[2])&If(IsEmpty(test[3]);"";","&test[3])&If(IsEmpty(test[4]);"";","&test[4])&If(IsEmpty(test[5]);"";","&test[5])

With this calculation if text[1] =1 .... to text[4]=4 and text [5] =""
Then HorizontalText=1,2,3,4
Random Solutions  
 
programming4us programming4us