0
%%[
    for @currentrow = 1 to RowCount(@Rows) do
        SET @row = Row(@Rows, @currentrow)
        SET @Item Field(@row, "Product_Name") // This line has an error
]%%
        <BR> %%=v(@item)=%%
%%[
    next @currentrow
]%%

When we try to put the line SET @Item Field(@row, "Product_Name") it is saved but the I am unable to publish it. It's throwing an error. Product_Name is a valid field as text.

Any insights? How can i check the log?

1
  • Where are you setting @rows? Aug 21 '15 at 18:33
2

You forgot the = sign on the SET

SET @Item = Field(@row, "Product_Name") // Now it shouldn't have an error
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.