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     [SOLVED]How to suppress printing field names in a report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]How to suppress printing field names in a report
 Login/Join
 
Member
posted
Hi all,

In order to copy data from one system into another "generic" system, I have a requirement to produce an Excel document that follows a strict template. The file begins with four lines of text, column descriptions, and column names from a provided template file and is followed by data from database being copied. I have pulled the data from the Excel template document into a HOLD file with 62 fields. I have extracted needed data from the database and put that into a second hold file with 62 fields. To make sure that I could concatenate the files, I used FIELD_1 ... FIELD_62 as field names for both HOLD files and forced all the columns to have the same format. So far so good.

Now I need to send the combined files to an Excel file for processing. The issue is that I cannot have the field names printed to the file. If the created file does not match the template format exactly, the data will not be read into the new system. This will become part of an automated process so opening the Excel file up each time and removing the first row is not a good solution.

I have searched here for some way to skip the first line or suppress field names.

Any suggestions would be appreciated.

Harold

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.1.0.1 M
Windows Server 2008
PDF, HTML, Excel
 
Posts: 9 | Location: Urbana, Illinois, USA | Registered: August 16, 2012Report This Post
Member
posted Hide Post
I stumbled on to the answer to my own question. I printed each of the fields as '' and that created a blank line. The export to Excel was perfect.


WebFOCUS 8.1.0.1 M
Windows Server 2008
PDF, HTML, Excel
 
Posts: 9 | Location: Urbana, Illinois, USA | Registered: August 16, 2012Report This Post
Master
posted Hide Post
Harold-

Is the HAL 9000 operational?

(I realize you must get this all the time, sorry. Nice that you follow up on your post. :-))

-Dave




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Member
posted Hide Post
"I'm sorry, Dave, but I cannot tell you that." Back in 2001, that year's Ebertfest featured a remastered version of "2001: A Space Odyssey". I don't mind that reference at all.

-H


WebFOCUS 8.1.0.1 M
Windows Server 2008
PDF, HTML, Excel
 
Posts: 9 | Location: Urbana, Illinois, USA | Registered: August 16, 2012Report 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     [SOLVED]How to suppress printing field names in a report

Copyright © 1996-2020 Information Builders