Focal Point
[SOLVED] Create Synonym command to Excel format

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3627058966

March 27, 2014, 01:27 PM
diogo.miranda
[SOLVED] Create Synonym command to Excel format
Hey Evebody,

I new for here and my english is not so well... sorry for this.


I'm new with webfocus and I'm trying to create synonym command, like this:

CREATE SYNONYM test_tbExcel FOR Presencial WORKSHEET DIREXCEL AT tb1.xls
END
-RUN



Anybody knows how the correct command for this?


Kind Regards.

This message has been edited. Last edited by: <Kathryn Henning>,
March 27, 2014, 03:11 PM
diogo.miranda
In my attempts, I got this code:
-*CREATE SYNONYM [app name]/[new synonym] FOR [target table] DBMS [dbms type i.e. SQLMSS] AT [adapter name]
CREATE SYNONYM ino_dmiranda/presencial2
FOR E:\ibi\apps\ino_dmiranda\2008_01_sem.xls\Presencial DBMS DIREXCEL AT EXCEL
END
-RUN


However, is taking place the following error message:
(FOC31041) DIREXCEL CRSYN PRESENCIAL2: worksheet is empty
April 03, 2014, 07:09 PM
<Kathryn Henning>
Hi Diogo,

Welcome to Focal Point!

Which release of WebFOCUS are you using? Would you please update your profile with this information?

When reading from Excel data, you can use the Adapter for Excel (via Direct Retrieval) or ODBC. The following document, while old, should hopefully give you an idea of where to start if you're using ODBC:

How to Access Data from an Excel Spreadsheet via WebFOCUS

I searched through the forums and found topics discussing reading Excel data with WebFOCUS, and you may find one more specific to your environment.

Regards,

Kathryn
April 04, 2014, 04:06 AM
Tony A
Hi Diogo,

The syntax is incorrect, try -
CREATE SYNONYM ino_dmiranda/presencial2
   FOR ino_dmiranda/2008_01_sem.xls
   DBMS DIREXCEL
   PARMS 'WORKSHEET Presencial'

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 
April 04, 2014, 04:10 AM
Tony A
This document will give you the information -
Adapter for Excel (via Direct Retrieval)
You will need to sign on to techsupport.

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