New Year Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

A developer wants to create an AMPscript FOR loop that populates HTML table rows based...

A developer wants to create an AMPscript FOR loop that populates HTML table rows based on the number of rows and data in a target DE. Where should the developer place the FOR keyword to begin the loop?

A.

Before the

tag

B.

Before the

tag

D.

Before the

tag

tag. This ensures that each iteration of the loop creates a new table row with the appropriate data.

Example:

tag

C.

Before the

%%[ FOR @i = 1 TO RowCount(@TargetDE) DO ]%% %%[ NEXT @i ]%%
%%=Field(Row(@TargetDE, @i), "FieldName")=%%

[References:, AMPscript Guide, Salesforce Marketing Cloud Documentation, , , ]
MCE-Dev-201 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now MCE-Dev-201 pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"