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.
Why would you want a drop-down list in Excel? Is there some further functionality you're trying to accomplish? You would normally just display each value in its own cell.
By the way, there is no WebFOCUS version 7.0. Theres 7.1.x or 7.6.x. Can you clarify your question a little and update your profile with your correct WF version?
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, 2007
I don't think you can do this directly from the webfocus code. You might (but no garantees here) get things like this done by using excel templates.... It's worth investigating.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
A drop-down is a control used to populate a variable or perform some function. There is not a way for WebFOCUS to populate a control in an Excel spreadsheet. It just creates a report by populating the cells in a spreasheet with data.
Are you trying to create some sort of a launch page for an Excel quick-query type application?
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, 2007
WebFOCUS isn't the tool you need. It doesn't operate in the Excel environment like you're looking for. It can read an Excel file as data (if you're really desperate) and output an Excel file but it doesn't create a drop-down control in Excel from Excel data. Sounds like you need an Excel macro or something of the like.
I'm still completely confused as to why you want a drop-down control in an Excel spreadsheet. You just keep saying "I want....." without explaining what you are really trying to accomplish. In any case I really doubt you're going to get what you're looking for from WebFOCUS.
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, 2007
Why don't you make the output format EXL2K PIVOT? Won't that give you what you need?
SET EMPTYREPORT = OFF
TABLE FILE CAR
PRINT
SALES
BY
CAR
HEADING
"CAR File PivotTable"
"Sum of Sales by Car"
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K PIVOT
PAGEFIELDS COUNTRY
CACHEFIELDS MODEL
END
But i need the dropdown in excel for a particualr cell.This is our requirement. Is there any way to populate a dropdown in excel for a particular cell instead of using pivot
The drop down you're talking about sounds like an Excel AutoFilter.
You can create an Excel template where one tab is the data as retrieved via WebFOCUS and the other tab is how you want the use to see the data (with the AutoFilter). This is quite easy to do. There are very clear instructions here:
I'm not trying to criticize, but in the few minutes since the previous post you could not possibly have checked out all the information in the references given to you by Tom and Francis, which I'm sure have the examples you are looking for. Try doing some of the work yourself before asking others to do it for you.
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, 2007
TABLE FILE CAR
HEADING
"CAR REPORT"
PRINT
SALES
BY COUNTRY
BY CAR
ON TABLE SET STYLE *
TYPE=HEADING,COLOR=BLUE,STYLE=BOLD, SIZE=14, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K PIVOT
CACHEFIELDS MODEL TYPE
END
I tried so many ways to populate a dropdown in excel for a particular cell instead of PIVOT.
Example: FILEDEF TEST2 DISK test.mht -RUN TABLE FILE CAR PRINT DCOST ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'test' SHEETNUMBER 1 END -RUN
1. Creating a mht file with the dropdown. 2. I tried calling the .mht file through webfocus. 3. It is replacing the values and dropdown is not populating.
Please anyone know the solution of this it will be great helpful and thanks to everyone.
Again, I don't like to be critical, but if someone's trying to do something way past their capabilities, I'm likely to say so. Your best solution is probably to pay someone who has the expertise to do what you want or get IBI tech support to walk you through the processes (which they might not do either because this involves more Excel knowledge than WF knowledge.)
Several individuals have given you more than enough information to get the job done, but you're not paying close enough attention to the details of how to accomplish individual tasks. Instead of trying to swim across the Atlantic, try a few laps in the pool first. (In other words, stick with the simpler stuff until you get the experience you need.)
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, 2007
shakila25, heed what Darin mentions in his last posting.
Also, "It is replacing the values and dropdown is not populating" - if you have the template successfully being populated, then you're almost there!
"SHEETNUMBER 1" of Excel template (mht) "test" is what WebFOCUS populates. Any other sheet in the Excel template can refer to the cells in sheet 1. Sheet 1 is the WebFOCUS working sheet, and another sheet is the one the user should be working with. This is the one where you can set up the AutoFilters.
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