Focal Point
Insert Text Under Graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4861008331

October 11, 2004, 08:20 PM
RB
Insert Text Under Graph
We want to develop a graph which runs on monthly basis. Can we make the users insert text under the graph area? This text should reflect when another user runs the report.

In simple words, we are trying to see the trend of revenue in the report. Users should see the graph and when they find some discrepancy or a reason for the discrepany, then they should be able to write some reason/text in the text box provided under the graph. When some other user runs the same report they should be see the comments provided by the other user. Is this doable? We do not have webfocus maintain. We are using Webfocus MRE 4.3.6.

One idea we have right now is:
by using Modify command, we will allow the users to insert text. This text will be passed to a field in a table. Did not try this out yet though.
We are hoping that this would work.

Are there any other ideas on how to implement?
October 12, 2004, 07:12 AM
susannah
i agree with your approach. calculate the graph and perhaps save it as a gif onto your server, rather than recalc it ever time.
display the report as part of a form where a text box is displayed for input and the contents-to date of the comments database is displayed as output. Two fexes, #1 reads and #2 writes.
The form onSubmit calls an update fex (#2) that MODIFY's the comments database with the newly collected input.
you'll spit out the form at the bottom of the display fex (#1). The display fex can calc the graph and read the comments database,
-HTMLFORM BEGIN
[ HTML]
[ BODY]
[ FORM......etc your action, fexname, all that>
[ IMG SRC= your gif>
<!-- WEBFOCUS TABLE MYTAB1 -->
<input type=textbox...etc>
your submit button goes here
[ /FORM>
[ /BODY>
[ /HTML]
Works for meWink.
Let us know how it goes, ok? Sounds like a great idea.
October 12, 2004, 04:35 PM
RB
Hi Susannah,

Thank you for your input. We haven't started developing this application yet. We started gathering requirements and trying to figure out what would be the best way to approach etc.,
It might take few months more before we start developing this application.

Yes, for sure I will let you know how it goes.

Thanks once again.