Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

AMPscript: Pull data extension row count

$
0
0

I'm trying to use AMPscript to pull the number of rows (all rows, rather than matching to a specific variable) in a data extension and insert that variable into an email. However, the variable I'm using isn't being recognized. Why is that? How can I fix it?

%%[ var @rowCount set @rowCount = DataExtensionRowCount("DE_Name") ]%%%%=v(@rowcount)=%%

Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>