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
... 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 ... 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
June 24, 2014, 09:09 AM
gregv
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
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
June 25, 2014, 09:55 AM
<Emily Duensing>
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.
June 26, 2014, 08:27 AM
gregv
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