|
3#
楼主 |
发表于 2012-4-12 15:00:58
|
只看该作者
temp = "Select * From [Warranty information]"
RS.Open temp, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
RS.AddNew
RS("Claim NO") = Me![Text1]
RS("Service station") = Me![Text2]
RS("production date") = Me![Text3]
RS("engine NO") = Me![Text4]
RS("sale date") = Me![Text5]
RS("repair date") = Me![Text6]
RS("mileage") = Me![Text7]
RS("time in service") = Me![Text8]
RS("Customer complaint") = Me![Text9]
RS("Failure description") = Me![Text10]
RS("technical issue") = Me![Text11]
RS("root cause") = Me![Text12]
RS("Corrective Action") = Me![Text13]
RS("owner") = Me![Text14]
RS("Claim invoice NO") = Me![Text15]
RS("Claim invoice date") = Me![Text16]
RS("Claim Money") = Me![Text17]
RS("Customer") = Me![Combo1]
RS("Product Type") = Me![Combo2]
RS("Part NO") = Me![Combo3]
RS("Appearance problem") = Me![Combo4]
RS("Responsibility") = Me![Combo5]
RS("Link for Failure Mode illustration") = Me![OLE1]
RS("Link for Support Document") = Me![OLE2]
RS("input date") = Me![Text99]
RS.Update
RS.Close
其中的OLE1和OLE2中的对象,我是怎么也保存不到数据库中! |
|