运行时错误3047记录太大

时间:2014-04-14 21:32:20

标签: sql ms-access access-vba

我收到错误3047 in MS Access 2010。我在这段代码中遇到问题当我尝试运行它时,我得到了一个特殊的error:record is too large

Function add()

Dim oDB As DAO.Database

Dim oRst As DAO.Recordset

Dim req As String

Dim req2 As String

Dim req3 As String

DoCmd.SetWarnings False

Set oDB = CurrentDb

req = "ALTER TABLE Test ADD COLUMN Zone Text(20);"

req2 = "ALTER TABLE Test DROP COLUMN Zone ;"

req3 = "update Test set Zone= 'zone dense';"

DoCmd.RunSQL (req2)

DoCmd.RunSQL (req)

DoCmd.RunSQL (req3)

End Function

0 个答案:

没有答案