How to use Recordset.AddNew method?(0分)

B

billson

Unregistered / Unconfirmed
GUEST, unregistred user!
Can you please tell me how the Recordset.AddNew method parameters must be
specified ?
The prototype is: .AddNew(FieldList, ValueList: OleVariant)


How multiple fields and values can be used ?


Thank you.
 
我只知道这样 addnew("一个字段名",该字段对应的值) 可以添加一个字段的值,
我也在找添加多个字段值的方式。。 :(
 
找到答案了!!!
objRecordset.AddNew Array("text_field", "integer_field", "date_time_field"), Array("Some Text", CInt(Day(Date())), Now())
这是正确的我试过了!
 
顶部