i have created a data extension names as recordsDe. it have some record in it check picture and i want to display its all data my in cloud page.
like Record A1 | Record B1
Record A2 | Record B2
Record A3 | Record B3
Record A4 | Record B4
I have written a code like this
%%[
var @FieldA, @FieldB, @row, @rows, @rowCount, @i
set @rows = LookupRows("recordsDe"," ")/* What should i update here */
set @rowCount = rowcount(@rows)
if @rowCount > 0 then
for @i = 1 to @rowCount do
set @row = row(@rows, @i)
set @FieldA = field(@row,"FieldA")
set @FieldB = field(@row,"FieldB")
]%%
%%=v(@FieldA)=%% | %%=v(@FieldB)=%%
%%[
next @i
endif
]%%
i don't have 3rd field in DE because i don't want to display FieldA and FieldB records by matching using 3rd field. So anyone please help me how to do this.