- htmlpage SUBSTATS()
- <%{
- TABLE = "<table width='400' border='1' cellpadding='1' cellspacing='1'><tbody><tr><td>Mailing List</td><td>Total Subscribers</td>";
- for each sec_list in LISTS [LIST_TYPE = "Secondary"]
- {
- TABLE = TABLE + "<td>" + sec_list.LIST_NAME + "</td>";
- }
- TABLE = TABLE + "</tr>";
- for each r in LISTS [LIST_TYPE == "Primary"]
- {
- primary_total = SUBSCRIBERS[LISTS.contains(r.LIST_CODE)].count();
- TABLE = TABLE + "<tr><td>" + r.LIST_NAME + "</td><td>" + primary_total + "</td>";
- for each x in LISTS [LIST_TYPE = "Secondary"]
- {
- LIST1 = List:String();
- LIST1.add(r.LIST_CODE);
- LIST2 = List:String();
- LIST2.add(x.LIST_CODE);
- //TABLE = TABLE + "<td>" + thisapp.COUNT_SUBSCRIBERS(LIST1, LIST2) + "</td>";
- TABLE = TABLE + "<td>**W/O Function**</td>";
- }
- TABLE = TABLE + "</tr>";
- }
- TABLE = TABLE + "</tbody></table>";%>
- <%=TABLE%>
- <%}%>
If I comment-in line 20 and comment-out 21, it fails.
App buzzap/ncsd shared to support.
Cheers,
John Whitney