VB Script returns wrong field
I have a VB script that works fine in my 1up template, but when I copy that field into a smaller template it doesn't work.
It's so strange because it works correctly on my 1up template.
This is my original VB script:
if (trim(Field("lblout.FEATURED SALE ITEM","N"))) = "N" Then
Value= Field("lblout.TPR To")
else Value = "---"
end if
When I was debugging I realized that the issue is the user defined field FEATURED SALE ITEM
If I print that field, which is a Y or N value, instead I get the Retail price field.
Any ideas? I'm losing my mind with this
0
-
You could try deleting the field name etc from the script line and then reselect it from the column on the left
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar