📄 12164.html
字号:
<html>
<head>
<title>pass- through </title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>pass- through </h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:chiou@ms1.mmh.org.tw">CHIOU</a> on April 19, 1999 at 13:20:26:<p>
有个 问题如下:<p>我在 access 模组内写了一个 function test(param as integer)<p>做了如下之 sql :<p>update table set col1 = test(col3) - text(col2) <p>可执行,而且ok<p><br>我在vb 内之写法如下:<p>data1.database.execute "update table set col1=test(col3) - test(col2)"<p>出现 error test function not found!<p>于是又改写成:<p>data1.database.execute "update table set col1=" + <br>cstr(test(data1.recordset!col3) - test(data1.recordset!col2))<p>如此是可execute ,但col1 之值都是一样,就是当时 data1 所在之指标 col3 - col2<br>之值<p>我要如何 呼叫才可让 sql 语法 pass 给 给 access 检查 ( 此法称 pass-through<br>吗 ??)<p>pls help!!<p>thank!!!<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 12164-->
<!--top: 12184--><li><a href="12184.html">Re: pass- through </a> <b>纪文和</b> <i>19:43:08 4/19/99</i>
(<!--responses: 12184-->0)
<ul><!--insert: 12184-->
</ul><!--end: 12184-->
</ul><!--end: 12164-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -