Resolved tickets for DELRAY, LTD.
Outstanding and resolved tickets for DELRAY, LTD.
The essential code to do this operation relies on parameters (for example, custid and status) passed in from an HTML form in a servlet:
String custid = request.getParameter("custid"); String status = request.getParameter("status"); String sql = "select * from problem where custid='" + custid + "' and status='" + status + "';" // next, just fill the table...
CUSTID | PROBLEMID | CONTACTID | SUMMARY | RESOLUTION | PRIORITY | STATUS | OWNER | CITY | OPENED | UPDATED | CLOSED |
---|---|---|---|---|---|---|---|---|---|---|---|
DELRAY, LTD. | 4 | BILL STEARN | PBX REBOOT FAILED | Medium | Escalated | Lincoln | |||||
DELRAY, LTD. | 11 | BILL STEARN | BACKHOE DESTROYED OUTSIDE SWITCHBOX | Medium | Escalated | Atlanta |