Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (FOC295) A VALUE IS MISSING FOR: &WFFMT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(FOC295) A VALUE IS MISSING FOR: &WFFMT
 Login/Join
 
Silver Member
posted
Hi,
Here is simple report.
I am trying to generate luanch page equipped with output options - HTML, PDF, EXCEL 2000, EXCEL FORMULA.
It gives error message
(FOC295) A VALUE IS MISSING FOR: &WFFMT

Below is the code
TABLE FILE CAR
PRINT
DEALER_COST
RETAIL_COST
CAR
BODYTYPE
FOOTING
"Page Footer"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT &WFFMT.(,,,).Select type of display output.
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END
 
Posts: 43 | Registered: August 09, 2007Report This Post
Member
posted Hide Post
I take it you just need to add the formats to the
variable:

ON TABLE PCHOLD FORMAT &WFFMT.(EXL2K,PDF,HTML).Select type of display output.


WebFOCUS 7.6.1 Win 2003
 
Posts: 3 | Registered: November 02, 2006Report This Post
Virtuoso
posted Hide Post
Bik is partly right.
You would in this case also ned to activate the parameter prompting in the WebFOCUS admin console. If this would have been activated you would not have gotten the error in the first place.
Another option is to do a -DEFAULT &WFFMT = 'HTML' before the TABLE request or to do a ON TABLe PCHOLD FORMAT HTML iso &WFFMT.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
Are you using developer studio to develop your launch page?? or just typing it in?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Silver Member
posted Hide Post
Hi,
1. I have added the format below
ON TABLE PCHOLD FORMAT &WFFMT.(EXL2K,PDF,HTML).Select type of display output.

It still gives the same error message.

2. I checked parameter prompting is on in web focus console

3. I tried adding the following before TABLE request.
-DEFAULT &WFFMT = 'HTML'
It gave me parsing error.

3. I tried adding the following
ON TABLE PCHOLD FORMAT HTML iso &WFFMT.
It gave me parsing error.

I am using WF 7.1.7.

Thanks
kar
 
Posts: 43 | Registered: August 09, 2007Report This Post
Virtuoso
posted Hide Post
Kar

the line "-DEFAULT..." should be ended with ";"

How is this report started? from EDA or MRE?

If from the MRE you can force it to ask for user prompts.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Kar,

1) This is the proper technique in using &WFFMT, or, &OUTPUT, or, whatever amper variable you want to use for a prompt:

  
ON TABLE PCHOLD FORMAT &WFFMT.(<HTML,HTML>,<PDF,PDF>,<Excel 2000,EXL2K>,<Excel Formula,EXL2K FORMULA>).Select type of display output.


2) -DEFAULT never has, never will, end in a semi-colon:

  
-DEFAULT &WFFMT = 'HTML', &COL1 = 'WHATEVER1', &COL2 = 'WHATEVER2', &CNTR = 0


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
Kar,

Maybe it would help if you give the complete code of your request, together with the exact parsing error that you get.
From the look of it, everything seems to be ok, and this parsing error may be related to something else entirely.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
You might also want to check the properties of the FEX itself to see if "Prompt for Parameters" is checked.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
Tom's code or this code works fine.

TABLE FILE CAR
PRINT 
DEALER_COST
RETAIL_COST
CAR
BODYTYPE
FOOTING
"Page Footer"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT &WFFMT.(EXL2K,PDF,HTML).Select type of display output.
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END  


As GamP said, please make sure that IBIF_wfdescribe is set to XMLRUN in your WebFOCUS Client Console.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (FOC295) A VALUE IS MISSING FOR: &WFFMT

Copyright © 1996-2020 Information Builders