Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] (FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] (FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH
 Login/Join
 
Member
posted
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,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 5 | Registered: September 07, 2012Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Your LIKE test string is missing ending quote.

'%SELLING CODES CREATED DATE%

Also, why a circumflex accent
^

'REPOSTORY^CREATED DATE'


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2340 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Member
posted Hide Post
It based on Paramter value changed and '^' used to separate values.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 5 | Registered: September 07, 2012Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
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 ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2340 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] (FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.