Skip to Content
0
Former Member
May 05, 2009 at 12:10 AM

getting first record in a concatenating string

31 Views

Hi

I have the formula for my string but unfortunately it does not display the first record.

Can someone suggset me what should be done::

StringVar x;

if previousIsNull({Query1.1}) or ({Query1.1} <> previous({Query1.1}) ) then

x := {Query1.2}

else

x := x + "," + {Query1.2};

x

Thanks

Robinn