Hi All,
I'm pretty new to the world of Shared Variables.
Could anyone help me, I've gotten as far as concatenating my data sets like so:
John Smith, Jane Doe, Robert Smith, Sam Thomas
would it be possible to add an "and" before my last set
John Smith, Jane Doe, Robert Smith, and Sam Thomas
this is in my subreport
whileprintingrecords;
shared stringvar b;
if not isNull({Name}) then
(
if (b = '') then
b := b + {Name}
else
b := b + ', ' + {Name}
)
I'm pretty new to the world of Shared Variables.
Could anyone help me, I've gotten as far as concatenating my data sets like so:
John Smith, Jane Doe, Robert Smith, Sam Thomas
would it be possible to add an "and" before my last set
John Smith, Jane Doe, Robert Smith, and Sam Thomas
this is in my subreport
whileprintingrecords;
shared stringvar b;
if not isNull({Name}) then
(
if (b = '') then
b := b + {Name}
else
b := b + ', ' + {Name}
)