Let's say that I am calling a field that does not exist in my data extension.
How can I prevent AMPScript from not throwing an error if the field does not exist?
Let's say that I am doing an if statement referencing a field that does not exist.
%%[
SET @orderNumber = ORDER_NUMBER
if(@orderNumber == 10002) then
set
else
]%%
The code above will display an exception because the ORDER_NUMBER field does not exist. Using AMPScript how can i prevent this error?
Thanks,