satinsilhouette
Instructor
- Feb 21, 2006
- 625
I haven't writtne an array display in about 5 years, but need to now. I am getting an error on the counter in the declare formula and in the populate formula for the counter_myfield:
Declare formula:
Whileprintingrecords;
global stringvar array my_array;
global numbervar counter_myfield:=0;
Redim my_array[n];
Populate:
whileprintingrecords;
global numbervar counter_myfield:= counter_myfield +1;
global stringvar array my_array;
prov_array [counter_myfield]:= {?fieldname};
Display:
whileprintingrecords;
global stringvar array my_array;
Join(my_array, ", ")
I know this is pretty simple stuff, but cobwebs are keeping me from remembering something key here.
Thanks so much!
satinsilhouette
Declare formula:
Whileprintingrecords;
global stringvar array my_array;
global numbervar counter_myfield:=0;
Redim my_array[n];
Populate:
whileprintingrecords;
global numbervar counter_myfield:= counter_myfield +1;
global stringvar array my_array;
prov_array [counter_myfield]:= {?fieldname};
Display:
whileprintingrecords;
global stringvar array my_array;
Join(my_array, ", ")
I know this is pretty simple stuff, but cobwebs are keeping me from remembering something key here.
Thanks so much!
satinsilhouette