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     [CLOSED] EXCEL spreadsheet as input file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] EXCEL spreadsheet as input file
 Login/Join
 
Guru
posted
I looked at the documentation and there is no mention of being able to use Excel as an input file. I see you can use Access or Tab-Delimited file. I can always open up the Excel spreadsheet (.xls) and save it as a tab-delimited format, but I was hoping there is a Master File Description type that I can use without having to do that?

This message has been edited. Last edited by: Kerry,


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
Anatess,

You will need to use the ODBC data adaptor.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JJI>
posted
Anatess,
Like Tony said, you're going to need a ODBC data adapter.
If you have, do the following:
Set up a System DNS in the ODBC Data administrator. During this set up you will be asked to choose a driver. Pick the driver for Excel. Then fill in the Data Source Name, discription and select the workbook you want to report from. This name will be used when you configure the ODBC connection in the Webconsole of your reporting server.
IMPORTANT: Make sure that you give the range ,in your sheet that contains the data a name.
Now configure your ODBC connection in the webconsole and create a master. When you create the master you will see the name of the range come up like it is a table name. Select it and create your master. Now you can report from the Excel file like it is a normal table or view.

Hope this helps,
 
Report This Post
Virtuoso
posted Hide Post
Anatess,

Everything is explained on the IBI tech support web site:
http://techsupport.informationbuilders.com/tech/wbf/wbf_tcn_068.html

One thing very important: use the "Driver do Microsoft Excel" driver only! The others don't work.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Guru
posted Hide Post
THANK YOU VERY MUCH EVERYBODY! This is a great help! I love focal point. I can get an answer in no time from all over the world - England and Israel to name a few.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Gold member
posted Hide Post
If your environment is Windows you can use an Excel Worksheet as a data source directly without saving it as a CSV. In the spreadsheet you have to name each column in the first line insuring that there are no spaces in that column name. Secondly you have create a named range for the data. Once this is done use the ODBC adapter to create a DSN and then add to the adapters in the WF Reporting Server.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Silver Member
posted Hide Post
Hi,

Old post I know, but can someone please clarify something for me? Can the Excel file be dynamic? ie: can it have new rows be added to it on occasion and will any report you have written against this data source reflect that new data? I'm kind of confused as how it does that if you are required to specify a named range in the Excel worksheet originally.

Thanks,
Colleen


WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1
 
Posts: 32 | Registered: January 27, 2011Report This Post
<JG>
posted
cgiuda, With Excel and the ODBC adapter the named range is the key.

If you add rows and they are not part of the named range WebFOCUS will not see them.

You will have to adjust the named range to be able to use them.
 
Report This Post
<FreSte>
posted
JG,

I have also setup an ODBC connection to Excel and I do not use named ranges. WebFOCUS can see all rows.
This was also the case in 7.6.9

-Fred
 
Report This Post
Expert
posted Hide Post
I am attempting to read an Excel spreadsheet via an ODBC Excel connection.

I followed instructions from Tech Support (How to Access Data from an Excel Spreadsheet via WebFOCUS). This is a document describing the steps for old versions of WebFOCUS.

I've managed to create the ODBC connection, though that was a little complicated because in 64-bit versions of Windows 7, Excel is not a data source. One has to run the 32-bit ODBC Data Sources tool.

I point to an xlsx file where I have not named ranges.

When attempting to create a synonym, I get the following error:

   (FOC1394) CONNECT FAILURE 
   (FOC1394) CONNECT FAILURE 
   (FOC1394) CONNECT FAILURE 
     : [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed 
   (FOC1394) CONNECT FAILURE 
   (FOC1400) SQLCODE IS 1 (HEX: 00000001) 
     : [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed 
   (FOC1405) SQL PREPARE ERROR. 

I will convert the file to xls and name a range and try again, meanwhile, has anyone else seen this error?

Thanks,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
OK, I've managed to configure ODBC connections to xls and xlsx files. I've also managed to create synonyms and access the data. The only problem is that I have to create named ranges. For an xlsx file, if I do not have a named range, I get the message "No Candidate Objects Found" in the synonym generator.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
How do I use EXCEL spreadsheet as input file on mainframe server?

I fowllowed the "How to Access data from an Excel Spreadsheet via WebFocus" decument, and get the ODBC connection work at my Developer Studio localhost project.
But my server is on mainframe ZOS(with HFS), that means my Excel is created on mainframe every week, same as my fex programs. I need to join the Excel file to Focus files and create reports on mainframe.
The columns of the EXCEL file are fixed, but the total number of rows are different each week.

Can some expert help me? Thanks. Our server is 7.7.03


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report 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     [CLOSED] EXCEL spreadsheet as input file

Copyright © 1996-2020 Information Builders