1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <style>
- table {margin-bottom:20px;table-layout:fixed; border-collapse:collapse; border-spacing:10px}
- table.t1 {width:400px; border:1px solid black}
- table.t1 th {border:1px solid black;padding:4px;background-color:#e0e0e0}
- table.t1 td {text-align:center}
- table.t2 {width:800px; border:1px solid black;}
- table.t2 th {border:1px solid black;padding:4px;background-color:#e0e0e0}
- table.t2 td {border:1px solid black; text-align:center}
- div.d1 {text-align:center; width=400px; background-color:#e0e0e0;
- font-size: 20px; margin-bottom:20px}
- </style>
- <textarea cols="90" rows="20" name="formStatus" id="formStatus">
- Loading
- </textarea>
- <script type="application/javascript">
- window.onload = init();
- function report(data){
- myprint(this.config,"Got "+data.rows.length+" events");
- }
- function init(){
-
- let config=new Object();
- config.document=document;
- config.debugId='formStatus';
- let setup=new Object();
- setup.containerPath="TECANT/Data";
- setup.schemaName="lists";
- setup.queryName="alcoholConsumption";
- setup.config=config;
- setup.callback=report;
- listQuery(config,setup);
- document.getElementById('formStatus').value+="\n Obj:"+obj;
-
- }
- </script>
|