access vba - UPDATE sql not updating -


i'm having issue update sql, reason it's not updating table nomi. i'm not getting type of error. i'm updating table values table me.(...) getting values. when debug.print i'm getting this:

update nomi set workername = 'bob', dateassigned = #5/27/2015 8:52:52 pm#, actiondate = #5/30/2015 11:56:43 am#, caseid = 'bo09999', lastname = 'smith', firstname = 'jane', program = 'awesome', language = 'english', status = 'unprocessed' ((isnull([caseid]))<>false)

here code:

strsql = "update nomi set workername = '" & me.workername & "',  dateassigned = #" & me.dateassigned & "#, actiondate = #" & & "#,  caseid = '" & me.caseid & "', lastname = '" & me.lastname & "',  firstname = '" & me.firstname & "', program = '" & me.program & "',  language = '" & me.language & "', status = '" & me.status & "'  ((isnull([caseid]))<>false)"  currentdb.execute strsql 

this:

where ((isnull([caseid]))<>false) 

basically means:

where caseid null 

which might not true row in table. if caseid primary key, cannot null.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -