<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card id="discuz_wml" title="CnPack Forum">
<p>#1 求助 delphi ADO组件的 CursorLocation属性设置为 clUseServer 用法<br /><small>有个管理系统，所有ADOQUERY组件的 CursorLocation属性设置为 clUseClient，一直运行正常，我尝试全部设置为clUseServer， 系统不运行了，直接退出，请大家帮忙。<br />
<br />
我的做法是：<br />
1. 连接数据库之前，先将ADOConnection的 CursorLocation设置为clUseServer<br />
2. 调用窗体前，遍历所有ADOQUERY组件，然后将其 CursorLocation设置为clUseServer<br />
   Open 失败<br />
<br />
[[i] 本帖最后由 tahhkj 于 2016-1-14 11:56 编辑 [/i]]</small><br />
1/14 11:49<br />
tahhkj<br /></p>
<p>#1 End<br />
<br />Forum:<a href="index.php?action=forum&amp;fid=28&amp;sid=eO0QZh">技术板块灌水区 ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=184060&amp;sid=eO0QZh">求助 delphi ADO组件 ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=178350&amp;sid=eO0QZh">用户规模越来越大，系统 ...</a>
</p>
<p align="center"><br /><a href="index.php?sid=eO0QZh">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>