home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / progs / ite / ite10d1.exe / DATA.Z / EVENTS2.JRP < prev    next >
Encoding:
Text File  |  1996-09-07  |  5.8 KB  |  258 lines

  1. // {End Header} Do not remove this comment//
  2. // Generated on 08/23/96
  3. //
  4. var r = new EVENTS2Report();
  5. if (EVENTS2.arguments.length == 2) {
  6.    r.startPage = EVENTS2.arguments[0];
  7.    r.endPage = EVENTS2.arguments[1];
  8. }
  9. r.render();
  10. class EVENTS2Report extends Report {
  11.    with (this) {
  12.       title = "Customer Contacts by Employee & Contact Type";
  13.       linkText = "Next Page";
  14.    }
  15.  
  16.  
  17.    with (this.contacts1 = new Database()){
  18.       left = 0;
  19.       top = 0;
  20.       databaseName = "CONTACTS";
  21.       active = true;
  22.    }
  23.  
  24.  
  25.    with (this.events1 = new Query()){
  26.       left = 5;
  27.       top = 0;
  28.       database = parent.contacts1;
  29.       sql = "SELECT * FROM Events                         ORDER BY CONTNAME,CONTBY,CONTTYPE,CONTEND";
  30.       active = true;
  31.    }
  32.  
  33.  
  34.    with (this.events1.rowset) {
  35.  
  36.    }
  37.  
  38.  
  39.    with (this.pageTemplate1 = new PageTemplate(this)){
  40.       height = 15840;
  41.       width = 12240;
  42.       marginTop = 1080;
  43.       marginLeft = 1080;
  44.       marginBottom = 1080;
  45.       marginRight = 1080;
  46.       gridLineWidth = 0;
  47.       background = "filename BKGND.GIF";
  48.    }
  49.  
  50.  
  51.    with (this.pageTemplate1.streamFrame1 = new StreamFrame(this.pageTemplate1)){
  52.       height = 11376;
  53.       left = 360;
  54.       top = 1584;
  55.       width = 9360;
  56.    }
  57.  
  58.  
  59.    with (this.pageTemplate1.HTML1 = new HTML(this.pageTemplate1)){
  60.       height = 250;
  61.       left = 360;
  62.       top = 785;
  63.       width = 5925;
  64.       color = "blue";
  65.       fontPointSize = 10;
  66.       text = {||"Sorted by Employee " + '&' + '&' + " Contact Type, per Customer - " + new Date()};
  67.    }
  68.  
  69.  
  70.    with (this.pageTemplate1.image1 = new Image(this.pageTemplate1)){
  71.       height = 650;
  72.       left = 360;
  73.       top = 135;
  74.       width = 2460;
  75.       dataSource = "filename EVENTLOG.GIF";
  76.       alignment = 4;
  77.    }
  78.  
  79.  
  80.    with (this.pageTemplate1.image2 = new Image(this.pageTemplate1)){
  81.       height = 135;
  82.       left = 360;
  83.       top = 1125;
  84.       width = 7965;
  85.       dataSource = "filename BARSEP.GIF";
  86.    }
  87.  
  88.  
  89.    with (this.streamSource1 = new StreamSource(this)){
  90.  
  91.    }
  92.  
  93.  
  94.    with (this.streamSource1.group1 = new Group(this.streamSource1)){
  95.       groupBy = "CONTNAME";
  96.    }
  97.  
  98.  
  99.    with (this.streamSource1.group1.headerBand) {
  100.       height = 250;
  101.    }
  102.  
  103.  
  104.    with (this.streamSource1.group1.headerBand.Contname = new HTML(this.streamSource1.group1.headerBand)){
  105.       height = 255;
  106.       left = 75;
  107.       width = 1440;
  108.       variableHeight = true;
  109.       color = "blue";
  110.       text = {||this.form.events1.rowset.fields["CONTNAME"].value};
  111.    }
  112.  
  113.  
  114.    with (this.streamSource1.group1.footerBand) {
  115.       height = 150;
  116.    }
  117.  
  118.  
  119.    with (this.streamSource1.group2 = new Group(this.streamSource1)){
  120.       groupBy = "CONTBY";
  121.    }
  122.  
  123.  
  124.    with (this.streamSource1.group2.headerBand) {
  125.       height = 250;
  126.    }
  127.  
  128.  
  129.    with (this.streamSource1.group2.headerBand.Contby = new HTML(this.streamSource1.group2.headerBand)){
  130.       height = 255;
  131.       left = 345;
  132.       width = 1440;
  133.       variableHeight = true;
  134.       color = "black";
  135.       text = {||this.form.events1.rowset.fields["CONTBY"].value};
  136.    }
  137.  
  138.  
  139.    with (this.streamSource1.group2.footerBand) {
  140.       height = 85;
  141.    }
  142.  
  143.  
  144.    with (this.streamSource1.group3 = new Group(this.streamSource1)){
  145.       groupBy = "CONTTYPE";
  146.    }
  147.  
  148.  
  149.    with (this.streamSource1.group3.headerBand) {
  150.       height = 250;
  151.    }
  152.  
  153.  
  154.    with (this.streamSource1.group3.headerBand.Conttype = new HTML(this.streamSource1.group3.headerBand)){
  155.       height = 255;
  156.       left = 735;
  157.       width = 2745;
  158.       variableHeight = true;
  159.       color = "black";
  160.       text = {||this.form.events1.rowset.fields["CONTTYPE"].value};
  161.    }
  162.  
  163.  
  164.    with (this.streamSource1.group3.footerBand) {
  165.       height = 130;
  166.    }
  167.  
  168.  
  169.    with (this.streamSource1.group4 = new Group(this.streamSource1)){
  170.       groupBy = "CONTEND";
  171.    }
  172.  
  173.  
  174.    with (this.streamSource1.group4.headerBand) {
  175.       height = 0;
  176.    }
  177.  
  178.  
  179.    with (this.streamSource1.group4.footerBand) {
  180.       height = 0;
  181.    }
  182.  
  183.  
  184.    with (this.streamSource1.detailBand) {
  185.       height = 0;
  186.    }
  187.  
  188.  
  189.    with (this.streamSource1.detailBand.HTML4 = new HTML(this.streamSource1.detailBand)){
  190.       height = 1;
  191.       left = 2575;
  192.       width = 4635;
  193.       variableHeight = true;
  194.       color = "black";
  195.       fontBold = false;
  196.       text = {||this.form.events1.rowset.fields["DESCRIPTION"].value};
  197.    }
  198.  
  199.  
  200.    with (this.streamSource1.detailBand.contend1 = new HTML(this.streamSource1.detailBand)){
  201.       height = 255;
  202.       left = 990;
  203.       width = 1440;
  204.       variableHeight = true;
  205.       color = "black";
  206.       fontBold = false;
  207.       text = {||this.form.events1.rowset.fields["CONTEND"].value};
  208.    }
  209.  
  210.  
  211.    with (this.printer) {
  212.       duplex = 1;
  213.       orientation = 1;
  214.       paperSource = 7;
  215.       paperSize = 1;
  216.       resolution = 4;
  217.       color = 1;
  218.       trueTypeFonts = 3;
  219.    }
  220.  
  221.  
  222.    with (this.reportGroup) {
  223.       groupBy = "";
  224.    }
  225.  
  226.  
  227.    with (this.reportGroup.headerBand) {
  228.       height = 0;
  229.    }
  230.  
  231.  
  232.    with (this.reportGroup.footerBand) {
  233.       height = 500;
  234.    }
  235.  
  236.  
  237.    with (this.reportGroup.footerBand.image1 = new Image(this.reportGroup.footerBand)){
  238.       height = 135;
  239.       width = 7965;
  240.       dataSource = "filename BARSEP.GIF";
  241.    }
  242.  
  243.  
  244.    with (this.reportGroup.footerBand.HTML1 = new HTML(this.reportGroup.footerBand)){
  245.       height = 250;
  246.       top = 200;
  247.       width = 2975;
  248.       color = "black";
  249.       text = '<FONT COLOR="blue">Click <A HREF= "/svr/intrasrv.isv?apps/contacts/events.jfm">here</A> to return to Events Log.</font>';
  250.    }
  251.  
  252.    this.firstPageTemplate = this.form.pageTemplate1
  253.    this.form.pageTemplate1.nextPageTemplate = this.form.pageTemplate1
  254.    this.form.pageTemplate1.streamFrame1.streamSource = this.form.streamSource1
  255.    this.form.streamSource1.rowset = this.form.events1.rowset
  256.  
  257. }
  258.