NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: DonRidley on January 05, 2012, 04:33:06 AM

Title: A Graph(s) on Each Tab
Post by: DonRidley on January 05, 2012, 04:33:06 AM
Okay I thought I would share this...and to save this somewhere so that when I forget a year from now I can come back and find this...   ;D

I came across the need to display an Insight 2 graph on each tab of a memory form.  Now my solution may not be the best way but it works and it works well.

I'm not going to cover the creation of the graphs themselves.  I'm assuming you know that already.   If not, let me know and I'll help there to.

1.  Create a standard memory form.
2.  The form will not need a save button.  Cancel should do.
3.  For each tab, you will need a NetWebSource procedure.
4.  In the XHTML section, of the NetWebSource(s) place your code to display your graph:
     <!-- Net:TotalPermitFeesByFY -->  (My Graph..shown for syntax)
4.  For each tab on Form 1, create a "procedure" field that points to the NetWebSource

Repeat this process for each tab/graph you need.

You can also give each graph its own button set on each tab by adding fields on the parent form.  A print button would be an example.

Don