设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: sunredday
打印 上一主题 下一主题

[窗体] 子窗体刷新不足问题

[复制链接]
11#
 楼主| 发表于 2003-7-29 22:00:00 | 只看该作者
On Error Resume Next
Dim rst As DAO.Recordset
Dim intI As Integer
Dim intA As Long
Dim strA As String

  
intA = Me.[11分部分项工程量清单子窗体11].Form![预算表序号]
Set rst = CurrentDb.OpenRecordset("11分部分项工程量清单1")
strA = "预算表序号=" & intA & ""

rst.MoveLast
rst.FindFirst strA

rst.Edit
For intI = 1 To 56
rst.Fields(intI) = 变量.myfield(intI)
Next intI
rst.Update
Me.[11分部分项工程量清单子窗体11].Requery
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2025-5-20 05:21 , Processed in 0.086228 second(s), 23 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表