retrieve as needed

jzhaohua 2002-09-28 09:44:48
这个属性是做什么的?
具体怎么设置?
...全文
104 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhangxf 2002-09-28
  • 打赏
  • 举报
回复
但是要注意,该数据窗口不能order by (排序)
fing 2002-09-28
  • 打赏
  • 举报
回复
up
balloonman2002 2002-09-28
  • 打赏
  • 举报
回复
Description
Whether rows will be retrieved only as needed from the database. After the application calls the Retrieve function to get enough rows to fill the visible portion of the DataWindow, additional rows are "needed" when the user scrolls down to view rows that haven't been viewed yet.

即:仅取足够屏幕显示的行,:)
Tissier 2002-09-28
  • 打赏
  • 举报
回复
提醒一点:有了retrieve as needed 后,retrieveend事件里的脚本要在所有记录都retrieve出来后才会执行,也就是说当滚动条还能往下拉的时候,retreiveend是不执行的。
ice2water 2002-09-28
  • 打赏
  • 举报
回复
up
liuyuexl 2002-09-28
  • 打赏
  • 举报
回复
你可以datawindow的Rows中选择retrieve options
中的rows as needed
设了以后在这个数据窗口以后数据量较大的时候便可以按屏显示
提高检索效率,如果要看别的内容只要拉动mouse即可
superneo 2002-09-28
  • 打赏
  • 举报
回复
说的很清楚!
warchild 2002-09-28
  • 打赏
  • 举报
回复
一个是看的时候再拿
一个是全拿来慢慢看
liuxiang 2002-09-28
  • 打赏
  • 举报
回复
retrieve as needed 按需检索,当数据窗口检索时,只检索可见的一部分,当单击滚动条时,再从数据库中检索其他记录,retrieve to disk 将数据库中记录全部检索到磁盘临时空间,访问时增加系统负担
yzip 2002-09-28
  • 打赏
  • 举报
回复
从数据库中取出最大需要的行数放入数据窗口可见部分中(每次取出一数据窗体),使用滚动条的时候会逐次分批检索出其它满足条件的行。
dw_1.Object.DataWindow.Retrieve.AsNeeded= "Yes"/"No"

1,075

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧