fbpx

bclothier

About Ben Clothier

This author has not yet filled in any details.
So far Ben Clothier has created 49 blog entries.

Writing readable code: Try* pattern

Lately, I've been finding myself using the Try pattern more and more. I really like this pattern because it makes for much more readable code. This is especially important when programming in a mature programming language like VBA where the error handling is intertwined with the control flow. Genera [...]

Writing readable code: Try* pattern2020-10-27T22:55:58-05:00

Ad-hoc connection strings and heterogeneous queries

Heterogeneous queries is the reason why connection strings, especially ad-hoc connection string are important. In previous articles of the series, you saw how you could customize the connection parameters for connecting to Excel and text files. In the case of the text files, you can also describe th [...]

Ad-hoc connection strings and heterogeneous queries2020-10-23T19:01:45-05:00

Connection string parameters for text file sources – saved specifications

Access provides a second method of describing text files' schema by using system tables MSysIMEXSpecs and MSysIMEXColumns to save the specifications. In the previous article, I covered how schema.ini can be used to describe a text file's structure. The schema.ini involved an external text file impli [...]

Connection string parameters for text file sources – saved specifications2020-10-24T10:43:16-05:00

Connection string parameters for text file sources – schema.ini

Making a schema.ini to open or link text files from Access is one of two possible methods that can be used to work with data contained in the files from Access. In the previous article, we looked at the text file's connection string parameters. We also discussed the need to have additional schema in [...]

Connection string parameters for text file sources – schema.ini2020-10-23T09:42:19-05:00

Connection string parameters for text file sources

In the previous article I covered the connection string parameters for Excel data sources. We will now focus on the text files. There are different methods for describing text files' schema and using the information during opening or linking in Access. While Excel spreadsheets had some resemblance o [...]

Connection string parameters for text file sources2020-10-23T09:40:12-05:00

Connection string parameters for Excel data sources

In the previous article, I discussed how we can treat Excel and text files as if they were a database using DAO, and how we can open them without linking. Because they do not use ODBC drivers, their connection string will be formatted quite differently from what you might be accustomed to seeing for [...]

Connection string parameters for Excel data sources2020-10-21T01:54:13-05:00

Opening or linking text or Excel as data sources in Access

Access is a phenomenal tool for working with many data sources. You may have long known that you can easily import or export data in a wide array of formats. However, we had a scenario where we needed to process data from external data sources. The processing runs frequently so importing data would [...]

Opening or linking text or Excel as data sources in Access2020-10-21T00:10:40-05:00

RESOLVED: Office 365 Version 2009 may break your database application (Updated 2)

Microsoft has reported that they've disabled the feature which should then avoid the need to rollback the version. The new feature will be made available in version 2010, planned for end of October 2020. In meanwhile, it will be deactivated, and will remain so until then. There should be no need to [...]

RESOLVED: Office 365 Version 2009 may break your database application (Updated 2)2020-10-08T14:05:10-05:00

[UPDATED 2020-01-23] Office 365 Build 1912 breaks ODBC linked tables’ identity

**** Only applies to users on Access with SQL Server table links, otherwise this alert does not apply **** We are getting early reports that the build 1912/2001 released with Office 365 may break the ODBC linked table that contains an identity column, causing different errors. If you receive errors [...]

[UPDATED 2020-01-23] Office 365 Build 1912 breaks ODBC linked tables’ identity2020-01-23T14:22:46-06:00

[UPDATED 2] Critical: Office Update breaks Access — Query is corrupt

We've gotten reports from our clients, our colleagues and other posters that there is a huge problem with the Office 365 update that was released yesterday (November 12, 2019). The update causes an error where it may say: "Query "" is corrupt" This post deals with both preventive and restorative mea [...]

[UPDATED 2] Critical: Office Update breaks Access — Query is corrupt2019-11-27T15:39:43-06:00

Using OASIS-SVN and git for Access source code control

NOTE: I will be talking about this topic in depth in the upcoming Access and SQL Server monthly webinar on July 9th at 6:30 PM CDT. Register so that you can view the process live and ask questions!   As we work with several applications and sometime in a team, source code control is pretty impo [...]

Using OASIS-SVN and git for Access source code control2019-08-09T14:41:48-05:00
Go to Top