April 14, 2020, 01:48 PM
Div[CLOSED] (FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH
I am getting error for the below code:
-SET &CREATE_AM_ING= IF 'REPOSTORY^CREATED DATE' LIKE '%SELLING CODES CREATED DATE% AND 1 NE '1' THEN '' ELSE '-*';
ERROR MESSAGE:
(FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH
Thanks in advance
This message has been edited. Last edited by: FP Mod Chuck, April 14, 2020, 02:16 PM
MartinYYour LIKE test string is missing ending quote.
'%SELLING CODES CREATED DATE%
Also, why a circumflex accent
^
'REPOSTORY^CREATED DATE'
April 14, 2020, 11:57 PM
DivIt based on Paramter value changed and '^' used to separate values.
April 15, 2020, 07:46 AM
MartinYquote:
Originally posted by Div:
It based on Paramter value changed and '^' used to separate values.
Ok, but you know that your condition could never be true due to that character in the case where the parameter generates the below condition
IF 'SELLING CODES^CREATED DATE' LIKE '%SELLING CODES CREATED DATE%'
Have you resolved the error issue by adding the missing quote ?