I'm using Lookuprows to retrieve data from a Data Extension.
When used in an email, it's not erroring, but it's not pulling in any data either.
The top part of the AMPscript looks like this:
%%[ SET@ID = ID SET@ID = ID SET @rows = LookupRows("REF DE","Id", _subscriberkey) SET @VN__c = "" SET @VA__c = "" SET @RL__c ="" if rowcount(@rows) > 1 then SET @row = row(@rows,1) SET @VN__c = field(@row,"VN__c") SET @VA__c = field(@row,"VA__c") SET @RL__c = field(@row,"RL__c") endif ]%%
I'm then trying to pull data into the email like this:
What am I doing wrong?