Home

Run-time Error '3340'

%3CLINGO-SUB%20id%3D%22lingo-sub-1013464%22%20slang%3D%22en-US%22%3ERun-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1013464%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20trouble%20with%20access.%20I%20use%20it%20every%20day%20and%20need%20it%20to%20work.%20please%20help%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1013464%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1013495%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1013495%22%20slang%3D%22en-US%22%3Eis%20there%20any%20answer%20to%20this%20problem%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1013496%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1013496%22%20slang%3D%22en-US%22%3Ecan%20I%20chat%20with%20anyone%20to%20fix%20this%20error%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1013628%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1013628%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459882%22%20target%3D%22_blank%22%3E%40Jonathyn%3C%2FA%3E%26nbsp%3BIs%20just%20a%20problematic%20Update%20that%20caused%20havoc%3C%2FP%3E%3CP%3EYou%20have%20to%20uninstall%20these%20Updates%20to%20have%20it%20resolved%3C%2FP%3E%3CP%3E%3CEM%3EAccess%202010%20%E2%80%93%20Uninstall%20update%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-ca%2Fhelp%2F4484127%2Fsecurity-update-for-office-2010-november-12-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKB4484127%3C%2FA%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EAccess%202013%20%E2%80%93%20Uninstall%20update%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-ca%2Fhelp%2F4484119%2Fsecurity-update-for-office-2013-november-12-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKB4484119%3C%2FA%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EAccess%202016%20%E2%80%93%20Uninstall%20update%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-ca%2Fhelp%2F4484113%2Fsecurity-update-for-office-2016-november-12-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKB4484113%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAnd%20recently%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CEM%3E%3CSTRONG%3Eadded%20to%20the%20list%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3E%3CEM%3EAccess%202016%20%E2%80%93%20uninstall%20update%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-ca%2Fhelp%2F3085368%2Fnovember-12-2019-update-for-office-2016-kb3085368%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CEM%3EKB3085368%3C%2FEM%3E%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015272%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015272%22%20slang%3D%22en-US%22%3E%3CP%3EI%20found%20that%20the%20uninstall%26nbsp%3B%20previous%20updates%20doesn't%20work%20with%20Office%20365%20and%20that%20the%20only%20thing%20I%20found%20is%20to%20use%20the%20deployment%20tool%20to%20set%20back%20to%20a%20prior%20version.%3C%2FP%3E%3CP%3ENot%20something%20I%20wanted%20MANY%20end%20users%20who%20are%20not%20all%20computer%20saavy%20to%20have%26nbsp%3B%20to%20walk%20through%20so%20I%20did%20some%20digging.%3C%2FP%3E%3CP%3EWe%20have%20(primarily)%20one%20tool%20utilizing%20MS%20Access%20which%20has%20this%20error.%20I%20don't%20get%20it%20on%26nbsp%3B%20my%20machine%20because%20I%20have%20a%20surface%2C%20and%20because%20I%20cannot%20update%20the%20drive%20to%20a%20larger%20one%20I%20use%20an%20sd%20card%20for%20my%20user%20folder%20which%20does%20not%20allow%20the%26nbsp%3B%20major%20upgrades%20to%20run.%20However%20I%20found%20a%20laptop%20which%20had%20the%20error.%20I%20ran%20the%20tool%20and%20went%20into%20debug%20to%20find%20where%20the%20offending%20query%20was.%3C%2FP%3E%3CP%3EIt%20utilized%20a%20Update%20Filename%20SET%20field%20%3D%20'0'%20WHERE%20nz(field%2C'')%3D''%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20changed%20it%20to%20eliminate%20the%20WHERE%20statement%20and%20it%20worked.%3C%2FP%3E%3CP%3EUpdate%20Filename%20SET%20field%20%3D%20nz(field%2C'0')%3B%3C%2FP%3E%3CP%3Esure%2C%20technically%20it%20is%20Updating%20each%20record%20(I%20am%20told)%20but%20I%26nbsp%3B%20have%20noticed%20no%20significant%20performance%20hit.%3C%2FP%3E%3CP%3EMy%20thought%20is%26nbsp%3B%20maybe%20this%20is%20only%20a%20problem%20when%20WHERE%20is%20utilized%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1019537%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1019537%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459882%22%20target%3D%22_blank%22%3E%40Jonathyn%3C%2FA%3EYes%2C%20this%20the%20erroneous%20Query%20is%20Corrupt%20message%20caused%20by%20the%20Security%20Update%20Microsoft%20released%20last%20week.%20My%20team%20wrote%20a%20paper%20that%20describes%20the%20problem%20in%20more%20detail%2C%20the%20causes%2C%20Microsoft%20responses%20and%20workarounds%20you%20can%20make%20now%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Ffmsinc.com%2FMicrosoftAccess%2FErrors%2Fquery_is_corrupt%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Access%20Query%20is%20Corrupt%20Error%203340%3C%2FA%3E%3C%2FP%3E%3CP%3EHope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1025208%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1025208%22%20slang%3D%22en-US%22%3EThis%20was%20affecting%20me%20at%20work%20as%20well%20with%202016%20and%202019%20versions%20of%20Access%20where%20there%20wasn't%20an%20update%20I%20could%20simply%20uninstall%20to%20temporarily%20fix%20the%20issue.%20Today%20I%20successfully%20did%20a%20System%20Restore%20from%20the%20Windows%20Recovery%20options%20back%20to%20a%20week%20ago%20before%20the%20update%20was%20installed%20and%20Access%20is%20good%20to%20go%20again.%20In%20Access%20%26gt%3B%20Account%20I%20also%20disabled%20updates%20so%20I%20hope%20that%20it%20will%20stay%20good.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1029368%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1029368%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F128547%22%20target%3D%22_blank%22%3E%40Luke%20Chung%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20this%20Access%20error.%26nbsp%3B%20I%20have%20Office%20365%20and%20I%20have%20followed%20the%20suggestion%20to%20update%20my%20Office%20version%20within%20Access.%26nbsp%3B%20I%20have%20done%20this%20and%20now%20have%20version%201910%20Build%2012130.20410%20Click-to-Run.%26nbsp%3B%20This%20is%20the%20latest%20update.%26nbsp%3B%20The%20error%20still%20persists.%26nbsp%3B%20Please%20help%20!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040033%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040033%22%20slang%3D%22en-US%22%3E%3CP%3EN%C3%A3o%20altere%20as%20tabelas%20nem%20consultas%2C%20use%20apenas%20o%20meu%20c%C3%B3digo%20e%20adapte%20a%20chamada%20de%20execu%C3%A7%C3%A3o%3CBR%20%2F%3ESub%20UPDATE(strNomeTab%20As%20String%2C%20strInstrucaoSET%20As%20String%2C%20Optional%20MostraQtAlterados%20As%20Boolean%20%3D%20False)%3CBR%20%2F%3E'--------------------------------------------------------------'%3CBR%20%2F%3E'%20c%C3%B3digo%20criado%20por%20Alexandre%20Neves%2C%20do%20F%C3%B3rum%20MaximoAccess%20'%3CBR%20%2F%3E'%20utilize%20o%20c%C3%B3digo%20livremente%20mas%20mantenha%20os%20cr%C3%A9ditos%20'%3CBR%20%2F%3E'--------------------------------------------------------------'%3CBR%20%2F%3E'Exemplo%20com%20op%C3%A7%C3%A3o%20de%20mostrar%20quantidade%20de%20registos%20afectados%3CBR%20%2F%3E'Call%20UPDATE(%22Tabela%22%2C%22Campo%3DX%22%2CTrue)%20em%20vez%20de%20UPDATE%20Tabela%20SET%20Campo%3DX%3CBR%20%2F%3E'Exemplo%20com%20op%C3%A7%C3%A3o%20de%20mostrar%20quantidade%20de%20registos%20afectados%3CBR%20%2F%3E'Call%20UPDATE(%22Tabela%22%2C%22Campo%3DX%22)%20em%20vez%20de%20UPDATE%20Tabela%20SET%20Campo%3DX%3CBR%20%2F%3EDim%20qdf%20As%20QueryDef%3CBR%20%2F%3ESet%20qdf%20%3D%20CurrentDb.CreateQueryDef(%22qdf%22%20%26amp%3B%20strNomeTab%2C%20%22SELECT%20*%20FROM%20%22%20%26amp%3B%20strNomeTab)%3CBR%20%2F%3EIf%20MostraQtAlterados%20Then%3CBR%20%2F%3EWith%20CurrentDb%3CBR%20%2F%3E.Execute%20%22UPDATE%20qdf%22%20%26amp%3B%20strNomeTab%20%26amp%3B%20%22%20SET%20%22%20%26amp%3B%20strInstrucaoSET%3CBR%20%2F%3EMsgBox%20.RecordsAffected%3CBR%20%2F%3EEnd%20With%3CBR%20%2F%3EElse%3CBR%20%2F%3ECurrentDb.Execute%20%22UPDATE%20qdf%22%20%26amp%3B%20strNomeTab%20%26amp%3B%20%22%20SET%20%22%20%26amp%3B%20strInstrucaoSET%3CBR%20%2F%3EEnd%20If%3CBR%20%2F%3ECurrentDb.Execute%20%22DROP%20TABLE%20qdf%22%20%26amp%3B%20strNomeTab%3CBR%20%2F%3EEnd%20Sub%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1044607%22%20slang%3D%22en-US%22%3ERe%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1044607%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F467761%22%20target%3D%22_blank%22%3E%40CaptainTall45%3C%2FA%3E%26nbsp%3BI%20had%20the%20same%20issue%20crop%20up%3C%2FP%3E%3CP%3EThe%20problem%20code%20was%20a%20docmd.runsql%20%22Update%20Table%20Set%20field1%20%3D%20%23%22%20%26amp%3B%20now()%20%26amp%3B%20%22%23%20Where%20ID%20%3D%20%22%20%26amp%3B%20str(intID)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20changed%20it%20to%26nbsp%3B%3C%2FP%3E%3CP%3Edim%20wrst%20as%20recordset%3C%2FP%3E%3CP%3Eset%20wrst%20%3D%20currentdb.openrecordset(%22SELECT%20*%20FROM%20Table%20WHERE%20ID%20%3D%20%22%20%26amp%3B%20str(intID))%3C%2FP%3E%3CP%3Eif%20not%20wrst.eof%20then%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20wrst.edit%3C%2FP%3E%3CP%3E%26nbsp%3B%20wrst(%22field1%22)%20%3D%20now()%3C%2FP%3E%3CP%3E%26nbsp%3B%20wrst.update%3C%2FP%3E%3CP%3Eend%20if%3C%2FP%3E%3CP%3Ewrst.close%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1047943%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1047943%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F401564%22%20target%3D%22_blank%22%3E%40tsgiannis%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan't%20fix%20the%20run%20time%20error%20following%20Nov%20update.%26nbsp%3B%20I%20have%20Win%207%20with%20Office%202013%20with%20SP1.%26nbsp%3B%20When%20I%20try%20to%20run%20KP4484119%20update%20I%20get%20error%20message%20%22There%20are%20no%20products%20affected%20by%20this%20package%20installed%20on%20this%20system%22%20Don't%20understand%20why%20I'm%20getting%20this%20message.%26nbsp%3B%20Please%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1050128%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1050128%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478068%22%20target%3D%22_blank%22%3E%40DRM0260%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20same%20problem%20unable%20to%20unrecognized%20data%20format%20(%20run%20time%20error)%20.%20Seen%20you%20note%20about%20removing%20updates%20how%20do%20you%20do%20this%3F%20My%20problem%20is%20only%20one%20file%20in%20access%2C%20Microsoft%20team%20made%20a%20repair%2C%20reinstall%20new%20update%20from%20office%20365%20and%20did%20not%20resolve%20problem.%20Microsoft%20said%20they%20do%20not%20know%20how%20to%20fix%20access%20application%20and%20to%20contact%20developers%20at%20access%20are%20your%20people%20able%20to%20help%20me%20with%20my%20file.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1051709%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1051709%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F479043%22%20target%3D%22_blank%22%3E%40Eliya_1206%3C%2FA%3E%3C%2FP%3E%3CP%3EMicrosoft%20told%20me%20that%20they%20do%20not%20have%20any%20advice%20they%20can%20give%20on%20Access%20issues%20....%20which%20is%20remarkable%20since%20I%20pay%20Microsoft%20a%20subscription%20for%20their%20product.%26nbsp%3B%20I%20was%20advised%20to%20go%20to%20the%20Access%20developers%20forum%20and%20I%20learnt%20there%20that%20I%20had%20to%20uninstall%20one%20of%20the%20Microsoft%20updates%20that%20they%20unleashed%20on%20the%20world.%26nbsp%3B%20This%20was%20KB4484127.%26nbsp%3B%20Once%20I%20did%20this%2C%20I%20no%20longer%20had%20the%20problem.%26nbsp%3B%20Hopefully%20this%20will%20do%20the%20trick%20for%20you%20too.%26nbsp%3B%20Good%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1065713%22%20slang%3D%22en-US%22%3ERE%3A%20Run-time%20Error%20'3340'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1065713%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F401564%22%20target%3D%22_blank%22%3E%40tsgiannis%3C%2FA%3E%26nbsp%3Bthanks%20for%20the%20info.%20Uninstalling%20the%20updates%20for%20the%20corresponding%20version%20of%20Access%20(or%20Access%20Runtime)%20fixed%20the%20error%20on%20various%20computers%20at%20my%20office.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Jonathyn
New Contributor

I am having trouble with access. I use it every day and need it to work. please help me.

13 Replies
is there any answer to this problem
can I chat with anyone to fix this error

@Jonathyn Is just a problematic Update that caused havoc

You have to uninstall these Updates to have it resolved

Access 2010 – Uninstall update KB4484127
Access 2013 – Uninstall update KB4484119
Access 2016 – Uninstall update KB4484113

 

And recently added to the list

Access 2016 – uninstall update KB3085368

I found that the uninstall  previous updates doesn't work with Office 365 and that the only thing I found is to use the deployment tool to set back to a prior version.

Not something I wanted MANY end users who are not all computer saavy to have  to walk through so I did some digging.

We have (primarily) one tool utilizing MS Access which has this error. I don't get it on  my machine because I have a surface, and because I cannot update the drive to a larger one I use an sd card for my user folder which does not allow the  major upgrades to run. However I found a laptop which had the error. I ran the tool and went into debug to find where the offending query was.

It utilized a Update Filename SET field = '0' WHERE nz(field,'')='';

 

I changed it to eliminate the WHERE statement and it worked.

Update Filename SET field = nz(field,'0');

sure, technically it is Updating each record (I am told) but I  have noticed no significant performance hit.

My thought is  maybe this is only a problem when WHERE is utilized?

@JonathynYes, this the erroneous Query is Corrupt message caused by the Security Update Microsoft released last week. My team wrote a paper that describes the problem in more detail, the causes, Microsoft responses and workarounds you can make now:

Microsoft Access Query is Corrupt Error 3340

Hope this helps.

 

This was affecting me at work as well with 2016 and 2019 versions of Access where there wasn't an update I could simply uninstall to temporarily fix the issue. Today I successfully did a System Restore from the Windows Recovery options back to a week ago before the update was installed and Access is good to go again. In Access > Account I also disabled updates so I hope that it will stay good.

@Luke Chung 

I have this Access error.  I have Office 365 and I have followed the suggestion to update my Office version within Access.  I have done this and now have version 1910 Build 12130.20410 Click-to-Run.  This is the latest update.  The error still persists.  Please help !!!

Não altere as tabelas nem consultas, use apenas o meu código e adapte a chamada de execução
Sub UPDATE(strNomeTab As String, strInstrucaoSET As String, Optional MostraQtAlterados As Boolean = False)
'--------------------------------------------------------------'
' código criado por Alexandre Neves, do Fórum MaximoAccess '
' utilize o código livremente mas mantenha os créditos '
'--------------------------------------------------------------'
'Exemplo com opção de mostrar quantidade de registos afectados
'Call UPDATE("Tabela","Campo=X",True) em vez de UPDATE Tabela SET Campo=X
'Exemplo com opção de mostrar quantidade de registos afectados
'Call UPDATE("Tabela","Campo=X") em vez de UPDATE Tabela SET Campo=X
Dim qdf As QueryDef
Set qdf = CurrentDb.CreateQueryDef("qdf" & strNomeTab, "SELECT * FROM " & strNomeTab)
If MostraQtAlterados Then
With CurrentDb
.Execute "UPDATE qdf" & strNomeTab & " SET " & strInstrucaoSET
MsgBox .RecordsAffected
End With
Else
CurrentDb.Execute "UPDATE qdf" & strNomeTab & " SET " & strInstrucaoSET
End If
CurrentDb.Execute "DROP TABLE qdf" & strNomeTab
End Sub

@CaptainTall45 I had the same issue crop up

The problem code was a docmd.runsql "Update Table Set field1 = #" & now() & "# Where ID = " & str(intID)

 

I changed it to 

dim wrst as recordset

set wrst = currentdb.openrecordset("SELECT * FROM Table WHERE ID = " & str(intID))

if not wrst.eof then 

  wrst.edit

  wrst("field1") = now()

  wrst.update

end if

wrst.close

 

 

@tsgiannis 

Can't fix the run time error following Nov update.  I have Win 7 with Office 2013 with SP1.  When I try to run KP4484119 update I get error message "There are no products affected by this package installed on this system" Don't understand why I'm getting this message.  Please help!

@DRM0260 

I have the same problem unable to unrecognized data format ( run time error) . Seen you note about removing updates how do you do this? My problem is only one file in access, Microsoft team made a repair, reinstall new update from office 365 and did not resolve problem. Microsoft said they do not know how to fix access application and to contact developers at access are your people able to help me with my file. 

@Eliya_1206

Microsoft told me that they do not have any advice they can give on Access issues .... which is remarkable since I pay Microsoft a subscription for their product.  I was advised to go to the Access developers forum and I learnt there that I had to uninstall one of the Microsoft updates that they unleashed on the world.  This was KB4484127.  Once I did this, I no longer had the problem.  Hopefully this will do the trick for you too.  Good luck.

@tsgiannis thanks for the info. Uninstalling the updates for the corresponding version of Access (or Access Runtime) fixed the error on various computers at my office.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies