CONCAT equivalent in MS Access

There are two concatenation operators available in Access: +; and &. They differ in how they deal with Null. “foo” + Null returns Null “foo” & Null returns “foo” So if you want to update Null [My Column] fields to contain “Prefix ” afterwards, use … SET [My Column] = “Prefix ” & [My Column] … Read more

UrlDownloadToFile in Access 2010 – Sub or Function not Defined

You’ll need to declare this WinAPI function in order to call it from procedures in your code. From HERE Private Declare Function URLDownloadToFile Lib “urlmon” Alias “URLDownloadToFileA” (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Public Function DownloadFile(URL As String, LocalFilename … Read more

FileDialog doesn’t work

The FileDialog object is not provided by the Access library, but by the Office library. So your code should work if you set a reference to the Microsoft Office [version number] Object Library. Either you don’t have that reference set, or it’s broken. However if it were me, I would leave the reference unset and … Read more

Difference between Microsoft.Jet.OleDb and Microsoft.Ace.OleDb

It’s mainly a matter of history, effectively ACE has superceded JET: Wikipedia answers your question in great detail. The most relevant sections are: With version 2007 onwards, Access includes an Office-specific version of Jet, initially called the Office Access Connectivity Engine (ACE), but which is now called the Access Database Engine. This engine is fully … Read more