📄 ie4_test.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查询费用</title>
<SCRIPT LANGUAGE=VBSCRIPT>
set oEc= CreateObject( "EasyCics.App" )
sub QueryTtl()
r = oEc.ConnectServer("CICSNT01", "TEST", "TEST")
c11 = document.frmQuery.cell11.value
c12 = document.frmQuery.cell12.value
c21 = document.frmQuery.cell21.value
c22 = document.frmQuery.cell22.value
oEc.RsCreate 2
oEc.RsAddRow
oEc.RsSetCol 1, c11
oEc.RsSetCol 2, c12
oEc.RsSaveRow
oEc.RsAddRow
oEc.RsSetCol 1, c21
oEc.RsSetCol 2, c22
oEc.RsSaveRow
oEc.CallProgramAndCommit "CLIRS"
document.frmQuery.cellttl.value = oEc.GetValue("TTL")
end sub
</SCRIPT>
</head>
<body bgcolor="#FFFFCC" text="#510000" link="#999900" vlink="#CC9966" alink="#990066">
<p> </p>
<form name="frmQuery" method="POST"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="center" colspan=2>
<font size=5 face="黑体" color="#CC9933"><strong>测试结果</strong></font>
</td></tr>
<tr><td colspan=2>
<hr>
</td></tr>
<tr>
<td align=right><input type=text name="cell11" size="10" style="font-size:12pt;" value ="11"></td>
<td><input type=text name="cell12" size="10" style="font-size:12pt;" value ="12"></td>
</tr>
<tr>
<td align=right><input type=text name="cell21" size="10" style="font-size:12pt;" value ="21"></td>
<td><input type=text name="cell22" size="10" style="font-size:12pt;" value ="22"></td>
</tr>
<tr>
<td align=right><input type="button" value="CICS查询" name="B1" style="font-size:12pt;" onclick="QueryTtl"></td>
<td>
<input type=text name="cellttl" size="10" style="font-size:12pt;">
</td>
</tr>
</table></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -