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     populating a particular cell in EXCEL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
populating a particular cell in EXCEL
 Login/Join
 
<Navin>
posted
Hi All,

Is there any way to populate a particular cell say "C12" in an EXCEL through WEBFOCUS.


Thanks
Naveen.
WF 7.1.6 UNIX
 
Report This Post
Virtuoso
posted Hide Post
Sounds like you need an Excel Template.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<Navin>
posted
But Prarie,

Is that not possible to fill a specified cell without using a template.

or even using a template , how can i fill a particular cell. Webfocus starts printing the data right from the starting cell "A1" . So in that case how can i make that to fill a specified cell.
 
Report This Post
Expert
posted Hide Post
Naveen,

The same way as many a hunter would shoot a bear behind a tree, ricochet the arrow off of another tree!!

Basically you cannot reference a cell directly within an Excel worksheet at the time the WF report runs because there is no Excel sheet until the report content has been built.

You could use FRL to effect a solution or you could use a sledge hammer and the McGyver technique -
APP FI MCGYVER DISK MCGYVER.MAS (LRECL 80
-RUN
-WRITE MCGYVER
-WRITE MCGYVER FILE=MCGYVER,SUFFIX=FOC
-WRITE MCGYVER SEGNAME=SEG1
-WRITE MCGYVER FIELD=MCGYVER_KEY,   ,A1   ,A1   ,FIELDTYPE=I, $
-WRITE MCGYVER FIELD=SEQUENCE,  ,A3   ,A3   ,$
-RUN

CREATE FILE MCGYVER
MODIFY FILE MCGYVER
FIXFORM MCGYVER_KEY/A1 SEQUENCE/A3
DATA
 001
 002
 003
 004
 005
 006
 007
 008
 009
 010
 011
 012
END
-RUN

JOIN MCGYVER_KEY WITH COUNTRY IN CAR TO MULTIPLE MCGYVER_KEY IN MCGYVER AS J1

DEFINE FILE CAR
  MCGYVER_KEY/A1 WITH COUNTRY = ' ';
  SPC/A1 = ' ';
  CELL_VALUE/A10 MISSING ON = IF SEQUENCE EQ '012' THEN COUNTRY ELSE MISSING;
END

TABLE FILE CAR
SUM  SPC AS ''
     CELL_VALUE AS ''
 BY SEQUENCE NOPRINT
 BY SPC AS ''
 ON TABLE PCHOLD FORMAT EXL2K
END
-RUN

Will place FRANCE in cell C12.

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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     populating a particular cell in EXCEL

Copyright © 1996-2020 Information Builders