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] Creating table template

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Creating table template
 Login/Join
 
Member
posted
Hello there,

I'm wondering if it is possible to create a table template with variables that have no values,then replace these variables with real date. the idea here is to create a general table template and change its components whenever needed.!

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus App Studio
V8201
 
Posts: 23 | Registered: September 18, 2017Report This Post
Virtuoso
posted Hide Post
You can turn everything in the code into a variable. I suggest you offer users some choices but here's a simple example.
TABLE FILE &FILE_NAME
&VERB.(<PRINT>,<SUM>).Select Verb.
&FIELD_NAME.Select fieldname.
BY &SORT.Select Sort.
END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
Well... ummm... yeah, in principle, but...

OK, lets start this from the other way around. What kind of scenario would you be using this template for?


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat
 
Posts: 115 | Location: Brighton UK | Registered: February 19, 2005Report This Post
Virtuoso
posted Hide Post
Hi Badr.A,

Not sure to understand your question. Can you be more specific and at least give a sample of what you want.
What is your goal ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
it is a table template to display a verity of services in a city in numbers in monthly bases.
EX. JAN number of calls answered is 200 calls
if it is possible can I create a placeholder in any table template and can be replaced later.
As I work in a BI team. my coworker asked me to create such a template and send it to her!

quote:
Originally posted by Hank W.:
Well... ummm... yeah, in principle, but...

OK, lets start this from the other way around. What kind of scenario would you be using this template for?


WebFocus App Studio
V8201
 
Posts: 23 | Registered: September 18, 2017Report This Post
Virtuoso
posted Hide Post
quote:
if it is possible can I create a placeholder in any table template and can be replaced later

I think that we're all confused (me at least Eeker ).

What do you mean by create a template TABLE ? Is the table a SQL table, a WF HOLD file, an Excel Spreadsheet, ...?

What is a place holder that can be replaced later ?

Are you looking to have something where user can enter data ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
Sorry for confusing, I' think WF HOLD file is what I'm looking for.

Thanks!
quote:
Originally posted by MartinY:
quote:
if it is possible can I create a placeholder in any table template and can be replaced later

I think that we're all confused (me at least Eeker ).

What do you mean by create a template TABLE ? Is the table a SQL table, a WF HOLD file, an Excel Spreadsheet, ...?

What is a place holder that can be replaced later ?

Are you looking to have something where user can enter data ?


WebFocus App Studio
V8201
 
Posts: 23 | Registered: September 18, 2017Report This Post
Virtuoso
posted Hide Post
So still not quite sure of what is your goal and your need, but it looks like you may need something such as Babak's sample

TABLE FILE &FILE_NAME
&VERB.(<PRINT>,<SUM>).Select Verb.
&FIELD_NAME.Select fieldname.
BY &SORT.Select Sort.
ON TABLE HOLD AS MyHoldFile
END


The above will create sort of "dynamic" hold file - meaning that its contains/format will change depending on selection made.

But what would you like to do with that ?

If you can provide a complete and detailed sample/explanation of your need and goal, maybe we'll be able to give you the proper way to accomplish it.
We don't know your spec and request so you need to be more explicit if you need help.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
Hi Badr.A

This really sounds like the traditional WF Guided Adhoc or sometimes called guided self-service processing where a bunch of parameters are provided to control the contents of the report and output format.

Have you ever heard of this technique?


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Silver Member
posted Hide Post
TheTexasStingray has a quick intro to creating a guided-adhoc procedure then using that base to make a htmlpage for the report. He is using Developer Studio in the video, but the navigation shouldn't too difficult to figure in App Studio: https://www.youtube.com/watch?v=HknE6oQSWxU


WF Version 8105
 
Posts: 45 | Registered: October 07, 2015Report 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] Creating table template

Copyright © 1996-2020 Information Builders