on 05-05-2009 1:10 AM
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
Hmm, not sure, but perhaps you need to evaluate OnFirstRecord instead of/in addition to the PreviousIsNull (they probably aren't the same)?
If that's of no use, throw us some sample data and expected output and we'll see what we can do...
StringVar x;
if onFirstRecord = true or previousIsNull({Query1.1}) or ({Query1.1} previous({Query1.1}) ) then
x := {Query1.2}
else
x := x + "," + {Query1.2};
x
Edited by: Jaime Hargreaves on May 6, 2009 12:47 PM - Added a code snippet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.