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     [SOLVED] Change the name of SEG01

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Change the name of SEG01
 Login/Join
 
Guru
posted
Does anyone have a way to change the name of a segment when holding a FOCUS file?

The default is SEG01, SEG02...SEGnn.
I would like to code a custom name for each segment, such as SEG01='Region' and SEG02='Product', SEG03='Item', etc.
I don't want to edit the MFD because the fields in the master could change.

Thanks.

This message has been edited. Last edited by: <Kathryn Henning>,



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Expert
posted Hide Post
The only way I can think of doing this is to write the MASTER file out and MODIFY the record into the FOCUS file.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Yea, Waz, I thought of that too but I was hoping for a more direct solution, e.g.
BY COUNTRY SEG01 AS 'Country'
BY CAR SEG02 AS 'Car'
Thanks!



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Expert
posted Hide Post
quote:
write the MASTER file out and MODIFY the record

... or build your own version on the fly by interrogating the SYSCOLUM table. Everything you need is there and changing one element such as the segname should be easy.

I've done this before so if I can locate the code (some hope!) I'll share.

Incidentally, why do you want "nice" segnames? Just curious ... Wink Is it for segment lists in IA or something?

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
Guru
posted Hide Post
Yes, the customer is looking for something meaningful for their users in IA.
Is it possible to edit/update SYSCOLUMN from WF?



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Expert
posted Hide Post
quote:
Is it possible to edit/update SYSCOLUM from WF?

Wouldn't recommend it!!

Try using code to build what you want and then overwrite the one in your app folder - then see if SYSCOLUM has been updated?

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
<Emily Duensing>
posted
How about using a Business View to make it look nice and neat for the users? That way you can things whatever you want and they don't see the underlying Master elements.
 
Report This Post
Guru
posted Hide Post
That's the ticket, Emily!
I hide the foclist fields and added descriptions to the segments.
Then I put the master where it won't be overwritten.
Thanks, all, for the good suggestions.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report 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     [SOLVED] Change the name of SEG01

Copyright © 1996-2020 Information Builders