Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%[
- set @jobid = 13132277 /* a value from my sendlog DE */
- set @subID = 93394271 /* a value from my sendlog DE */
- set @rows = LookupRows("SendLog","JobID", @jobid,"SubID",@subID)
- set @rowCount = rowcount(@rows)
- if @rowCount > 0 then
- for @i = 1 to @rowCount do
- var @Value1, @Value2
- set @row = row(@rows,@i)
- set @Value1 = field(@row,"SubID")
- set @Value2 = field(@row,"Client") /* a custom attribute */
- ]%%
- Value 1: %%=v(@Value1)=%%, Value 2: %%=v(@Value2)=%% <br>
- %%[
- next @i
- else ]%%
- No rows found
- %%[ endif ]%%
Add Comment
Please, Sign In to add comment