只需一步,快速开始
使用道具 举报
以下是引用andymark在2006-6-5 21:06:00的发言: 把代码改成这样,你测试一下 Public Sub SetFrm(frm As Form) Dim TruPur As Boolean TruPur = Nz(DLookup("[" & frm.Form.Caption & "]", "pur", "[姓名]=" & "'" & User & "' ")) If TruPur = False Then frm.AllowAdditions = False frm.AllowDeletions = False frm.AllowEdits = False '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Else Exit Sub End If End Sub
本版积分规则 发表回复 回帖后跳转到最后一页
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2024-11-25 06:52 , Processed in 0.114865 second(s), 33 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.