这里的感叹号是什么意思啊?是代表表中字段的意思吗?字段?记录集中字段?
DimreCkAsRecordsetDimlIDAsLongSetreCk=dbYY.OpenRecordset("SELECT*FROMchukuORDERBYID")...
Dim reCk As Recordset
Dim lID As Long
Set reCk = dbYY.OpenRecordset("SELECT * FROM chuku ORDER BY ID")
If reCk.EOF Then
lID = 1
Else
reCk.MoveLast
lID =reCk!ID + 1 (这里的reCk!ID 中间有感叹号)
End If 展开
Dim lID As Long
Set reCk = dbYY.OpenRecordset("SELECT * FROM chuku ORDER BY ID")
If reCk.EOF Then
lID = 1
Else
reCk.MoveLast
lID =reCk!ID + 1 (这里的reCk!ID 中间有感叹号)
End If 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询