📄 1642.html
字号:
<html> <head> <title>传回不同的资料</title> </head> <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="red" VLINK="#808080" ALINK=""> <center> <h1>传回不同的资料</h1> </center><HR><p>Posted by <a href="mailto:jo@mail.welltech.com.tw">jo</a> on January 06, 1998 at 18:55:52:<p>请问如果我从 multi-threaded 去 call moudle 中的 function,<br>function 中的动作是读资料库的资料,<br>而我所要的是每一个 thread 所得到的资料不重覆,<br>其实我的作业有点像是处理 queue 一般,<br>不知 vb 是否能够做到这一点,<br>目前我所测试是会得到不同的资料,<br>但我不知这是否是巧合,还是有合理的解释,<br>在别台机器或系统上也能每一个 thead 都得到不同的资料吗?<p>如果您看不懂我所叙述的内容,您可以看以上程式码:<br>thread,<br> dim ret_code as string <p> ret_code = get_response<br> print ret_code<p>end turead<p>module<br>function get_response() as string<p> '之前已开启资料库,目前所做的就是读取资料<br> rs.movefirst<br> get_response = rs("资料一")..... <br> rs.delete<p>end module<br><br><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 1642--><!--top: 1645--><li><a href="1645.html"><b>Re: 传回不同的资料</b></a> 小吴 <i>16:40:36 1/07/98</i>(<!--responses: 1645-->0)<ul><!--insert: 1645--></ul><!--end: 1645--></ul><!--end: 1642--><br><HR><p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -