标题: [求助]关于一个赋值的问题 [打印本页] 作者: cake_super 时间: 2007-2-26 17:03 标题: [求助]关于一个赋值的问题 Private Sub Command146_Click()
Dim prj As String
Dim cn As String
Dim la As String
Dim rn As String
la = Me.LiftAddress
cn = Me.ContractNo
prj = Me.BasicInfo_Project
rn = Me.RegisterNo
Forms![safetyinspection]![Project] = prj
Forms![safetyinspection]![RegisterNo] = rn
Forms![safetyinspection]![Address] = la
Forms![safetyinspection]![ContractNo] = cn
DoCmd.OpenForm "SafetyInspection", acNormal
End Sub