why is ADODB inserting NULL values on update?

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-05-12T21:38:08Z Indexed on 2010/05/13 8:14 UTC
Read the original article Hit count: 169

Filed under:
|
|
|
|

i have:

With rs
    .AddNew ' create a new record
    ' add values to each field in the record
    .Fields("datapath") = dpath
    .Fields("analysistime") = "atime"
    .Fields("reporttime") = "rtime"
    .Fields("lastcalib") = "lcalib"
    .Fields("analystname") = "aname"
    .Fields("reportname") = "rname"
    .Fields("batchstate") = "bstate"
    .Fields("instrument") = "NA"
    .Update ' stores the new record
End With

when i check the database, it looks like it ONLY inserted the last field!

has anyone encountered this problem?

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about sql