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.
A long while back (May 2003), I opened a case asking for a feature, where in the editor one could highlight a block of code and by clicking a button, cause the code to be commented out or if already commented, uncomment. For example:
It would be nice to be able to highlight a block of code and click a button to comment the code. As in Powerbuilder. For example.
JOIN AS_ASSGN_FOR IN KDSASSGN TO RF_REFER_ID IN KDSREFER AS A. JOIN AS_UNIT IN KDSASSGN TO UN_UNITID IN KDSUNIT AS B. -* TABLE FILE KDSASSGN PRINT UN_UNITID BY RF_REFER_ID BY AS_BEGDT IF AS_ASSGNCAT EQ 297 IF AS_RSPCATTY EQ 1851 IF AS_BEGDT LT &CURRBOM IF RF_REFER_DT LT &CURRBOM IF RF_REFER_DT GE &BEGFY ON TABLE SET ALL ON ON TABLE HOLD END
Highlight the IF statments and click a button and they are commented out. Also, if the highlighted code is already commented out, uncomment the code.
JOIN AS_ASSGN_FOR IN KDSASSGN TO RF_REFER_ID IN KDSREFER AS A. JOIN AS_UNIT IN KDSASSGN TO UN_UNITID IN KDSUNIT AS B. -* TABLE FILE KDSASSGN PRINT UN_UNITID BY RF_REFER_ID BY AS_BEGDT -* IF AS_ASSGNCAT EQ 297 -* IF AS_RSPCATTY EQ 1851 -* IF AS_BEGDT LT &CURRBOM -* IF RF_REFER_DT LT &CURRBOM -* IF RF_REFER_DT GE &BEGFY ON TABLE SET ALL ON ON TABLE HOLD END
My request was denied and the case was closed because I was the only request. I was just wondering if anyone else thought this would be useful. I think it would be very useful for testing, especially for those of us that almost never use the gui tool.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
john, isn't it just staggering that they actually say to customers "your request was denied", the rudeness just staggers me. Of course its a good idea, i don't use the GUI, but no matter, its a good idea.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I logged a case that was basically the same idea. For what it's worth, my case # is 22932512 if you want to reference it.
I'll spare you the entire text of my case because I tried to "make my case" for the enhancement -- but here is the "meat" of my request:
Request 1: Most IDEs & languages that I've worked with have the ability to
comment out an entire block of code using a character sequence to start the
comment block and another to stop the comment block.
For example: /* COMMENTS GO HERE */
Request 2: Along similar lines, a lot of IDEs also provide a shortcut key or
menu item that you can use to comment out text that you have highlighted. In
other words, if you have 10 lines of code that you want to comment, you could
highlight those 10 lines, type the shortcut key (or click the menu item) and it
would put a "-*" in front of all 10 of those lines. The IDEs also have an
"uncomment" function so that the same 10 lines would have the "-*" removed if it
existed.
FYI: I opened my case back on Oct 20th after months of frustration and it's still in "IBI Researching" status at the moment.
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF
Trav, when did you open your case? I opened mine back in May-2003, they didn't say no until Aug-2006. Original problem # was 81481084.
We just got Premimum Support, I'm going to reopen the case and refer to this topic showing there are others that would like this feature.This message has been edited. Last edited by: jgelona,
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
Your comments and suggestions are very important to us. I have forwarded this topic to our internal people (Tony - yes, I am here ). If I hear more from them, I will definitely keep everyone updated.
Again, to submit a New Feature Request (NFR), you will be required to open a case with Information Builders' Customer Support Services. The phone number is 1-800-736-6130, or you can go through InfoResponse.
Thanks again for everyone's input. We look forward to hearing more ideas, suggestion, comments, etc.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
Coincidentally, not long after I posted my case # above, I got a call from Maryann at support regarding that case. Basically she was just following-up with me to see if I had any questions or anything and I told her this discussion had been risen and not be surprised if she saw more cases logged. She mentioned she'd probably get online here and look at the discussion and see if she could answer any questions as well.
Anyway, it is getting some visibility -- but I would encourage you all to log an NFR with support if you think it would help you.
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF
Comment button: Excellent idea and I hope they use it. My experience has been that with every upgrade I end up using the GUI less and the text edit more.
great idea, but doesn't the Dev Studio strip out any and all comments (or move them around) if you open it in the report painter? sounds like a potential for disaster if you're not careful.
(by the way, i've never understood why whatever parser they have for the reportpainter can't be programmed to leave commented out lines where they are, and just skip over them)
You could always switch to VAX FOCUS because I do remember that the TED editor in that product had that feature.
You might be able to do this as a regular expression in the change facility of the editor ie something like (.*)\n changes to -\\1\n for the selection.
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
Just wanted to let you know that we are reviewing this request and we plan on making it available in our next release: 761. This enhancement will be available while using the stand-alone Text Editor, Text View of Procedure Viewer and while viewing Source code from Report Painter. As noted by Dan, due to the Report Painter limitation where comment lines after a TABLE request get moved to top of file, it is not recommended to use this enhancement while in the Report Painter Source tab. If this is accidentally performed the developer can Undo edits to revert to earlier state. Movement of commented lines within a TABLE section is caused by a limitation of the current Report Painter parser which we plan to redesign in an upcoming release.
Regards, Dimitri
Posts: 66 | Location: New York | Registered: August 18, 2003