Crystal Reports 9
DB2
My report is grouped by hostname and in the group footer of the report, there is a field which is adding the hostnames in a string
stringvar string1;
string1 := string1 + HOSTNAME + "^";
it works fine except that when I display the value in the report footer, the last hostname is displayed twice at the end of the string
server#1^server#3^server#7^server#9^server#9^
it should display only: server#1^server#3^server#7^server#9^
I've tried to put the formula in the group header, but it is giving me the same result
I don't understand why it adds the last one twice...
any idea?
DB2
My report is grouped by hostname and in the group footer of the report, there is a field which is adding the hostnames in a string
stringvar string1;
string1 := string1 + HOSTNAME + "^";
it works fine except that when I display the value in the report footer, the last hostname is displayed twice at the end of the string
server#1^server#3^server#7^server#9^server#9^
it should display only: server#1^server#3^server#7^server#9^
I've tried to put the formula in the group header, but it is giving me the same result
I don't understand why it adds the last one twice...
any idea?