dunlop1975
IS-IT--Management
I am having issues displaying information, I am trying to create to formulas to list partipant and their times. To maximize the space on the page I want to break up into two
seperate formulas that I can put side by side.
i.e
Arron, Bob 50
Banks, Bill 60
.
.
The arrays are fine as they will display properly if I do a join() on them, but the formula below will only return a boolean (in this case displays true). I know the loop is performing because I try to display PARTICIPANT[COUNTER] on the last line it will display the first name that begins with "N".
I cannot figure out what is wrong with my syntax, any help would be greatly appreciated!
---------------------------------
whileprintingrecords;
stringvar array PARTICIPANT;
stringvar array PACUTIME;
local numbervar COUNTER := 1;
while left (PARTICIPANT[COUNTER],1) in "A" to "M" do
(
PARTICIPANT[COUNTER] & " " & PACUTIME[COUNTER] & chr(13);
COUNTER := COUNTER + 1;
);
seperate formulas that I can put side by side.
i.e
Arron, Bob 50
Banks, Bill 60
.
.
The arrays are fine as they will display properly if I do a join() on them, but the formula below will only return a boolean (in this case displays true). I know the loop is performing because I try to display PARTICIPANT[COUNTER] on the last line it will display the first name that begins with "N".
I cannot figure out what is wrong with my syntax, any help would be greatly appreciated!
---------------------------------
whileprintingrecords;
stringvar array PARTICIPANT;
stringvar array PACUTIME;
local numbervar COUNTER := 1;
while left (PARTICIPANT[COUNTER],1) in "A" to "M" do
(
PARTICIPANT[COUNTER] & " " & PACUTIME[COUNTER] & chr(13);
COUNTER := COUNTER + 1;
);