1. 首页
  2. 数据库
  3. 其它
  4. 记录集内随机取记录的代码

记录集内随机取记录的代码

上传者: 2021-01-31 07:56:00上传 PDF文件 14.05KB 热度 17次
<% ‘ Moving to random record – Steven Jones’ ExtensionIf Not(记录集名称.bof and 记录集名称.eof) Then‘ reset the cursor to the beginningIf (记录集名称.CursorType > 0) Then记录集名称.MoveFirstElse记录集名称.RequeryEnd If记录集名称_totalrn = -1记录集名称_totalrn = 记录集名称.RecordCount ‘ ony works on some recordsets, but much fasterI
下载地址
用户评论