搭建论坛《搭建之星》论坛经验交流 → ADO查询表数据表的执行方式


  共有1433人关注过本帖树形打印

主题:ADO查询表数据表的执行方式

帅哥哟,离线,有人找我吗?
wuhengsi
  1楼 个性首页 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 东方不败
等级:设计员 帖子:467 积分:2945 威望:0 精华:0 注册:2011-5-10 13:13:14
ADO查询表数据表的执行方式  发帖心情 Post By:2014-3-2 14:46:36


图片点击可在新窗口打开查看此主题相关图片如下:32.jpg
图片点击可在新窗口打开查看
北京空气弥漫。。。李生保重 求解,ADO数据表和查询表 下都有执行方式 如上图 所示 1.异步 2.缓存之后异步 3.缓存之后无阻碍异步 异步执行 我理解是另开线程执行,但实际中尚未敢用怕出BUG,问了李生 他说是为软件的缺省模式 具体也不完全清楚,,向各星友求解,要实践过的。。。

支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部
帅哥哟,离线,有人找我吗?
heying
  2楼 个性首页 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:635 积分:4626 威望:0 精华:0 注册:2009-6-1 9:31:41
  发帖心情 Post By:2014-3-3 9:34:34

给你一个标准解释:

TExecuteOptions values specify the characteristics of an execution operation.
Unit
ADOdb
Delphi syntax:
type
TExecuteOption = (eoAsyncExecute, eoAsyncFetch, eoAsyncFetchNonBlocking, eoExecuteNoRecords);
TExecuteOptions = set of TExecuteOption;

C++ syntax:

enum TExecuteOption { eoAsyncExecute, eoAsyncFetch, eoAsyncFetchNonBlocking, eoExecuteNoRecords };
typedef Set TExecuteOptions;

Description

When executing a command or connection using a method, use TExecuteOptions values to specify the characteristics of the execution operation. When reacting to a command or connection execution in an event handler, read the execute options parameter to determine the options already established for the connection triggering the event.

TExecuteOptions consists of the constants summarized in the following table:

Execute Option Meaning

eoAsyncExecute The command is executed asynchronously.
eoAsyncFetch The command fetches remaining rows after the initial quantity specified in the Cache property asynchronously.
eoAsyncFetchNonBlocking Execution is performed without blocking the thread.
eoExecuteNoRecords A command or stored procedure that does not return. If any rows are retrieved, they are discarded and not returned.


支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

ADO查询表数据表的执行方式








签名