Skip to content

Instantly share code, notes, and snippets.

Created September 27, 2019 20:31
What would you like to do?
set @email = emailaddr
if (@email != "") then
set @rows = LookupRows("LeadsDataExtension","Email", @email)
set @rowCount = rowcount(@rows)
if @rowCount > 0 then
set @row = Row(@rows, 1)
set @UID = Field(@row,"UID")
<span style="color: green">@email:</span> %%=v(@email)=%%
<span style="color: green">@rowCount:</span> %%=v(@rowCount)=%%
<span style="color: green">@UID:</span> %%=v(@UID)=%%
@rowCount: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment