Phone (01457) 858877 or email
Learn how to write VBA macros to add, edit and delete data in Access, SQL Server and other databases, using something called ADO.
This blog is part of both a complete Excel VBA tutorial and a complete SQL tutorial.
Sometimes in Excel (for example) you'll need to retrieve data from a SQL Server table, an Access query or even a table in Oracle, Ingres or the like. This blog explains how to do this!
This topic is stuffed full of theory about things like cursors and recordsets, but the strange thing is that the resulting code can be copied and pasted whenever you need to use it, without always needing to understand exactly what's going on behind the scenes!
This tutorial shows how to connect to databases using VBA. It covers:
The first thing you'll need to do to work with database records is to link to the ActiveX Data Objects library (called ADO by its friends).
Learn how to write VBA macros to add, edit and delete data in Access, SQL Server and other databases, using something called ADO.
This blog is part of both a complete Excel VBA tutorial and a complete SQL tutorial.
Comments on this blog
This blog has one comment: