Exports a 2D array to Excel.
Continue reading
Category Archives: UtterAccess Archive
AddTrustedLocation
Access 2007 and Access 2010 use trusted locations as a security measure to help prevent users opening a database from an unknown source which could include malicious code. Typically, if you open a database that is not in a trusted location, Access will display a security message asking if you want to open the file.
Continue reading
Instance
clsInstance helps to create and manage form instances. Using Form instances is an alternate technique for opening forms. Using a form instance makes it possible to open a second copy of a form that is already open in Form View so the application can show two records from the same table simultaneously for example.
Continue reading
HL7 To XML
This is a VBA port of a C# class that takes an HL7 message and converts it to an XML document object and returns the resulting xml as a string.
Continue reading
Filter Field
clsFilterField helps build filter and where expressions. An object of this class can be used, for example, to create a filter or where condition using the value that a user selects from a combobox .text property (using the combo’s AfterUpdate event, for example.) Regardless of the actual value of the selection, the combo box .Text property is, of course, text. This class takes care of creating the filter or where expression with the correct delimiters for the field to which it will be applied.
Continue reading
Collection Class
CollectionWrapper Class Summary
This Visual Basic Collection Class is a wrapper for the collection object in VBA and allows for additional functionality than what is offered by using a collection object by itself. As it is setup currently, this class is not strongly typed, meaning that you could add a bunch of strings, numerics, or objects to it. This may be the desired result, or you may choose to modify it to only deal with one specific object or variable type. To do this, change the Add method and Item property from Variant to the variable of object type of your choosing.
Continue reading
Asynchronous HTTP Request Class
This class is a wrapper (Facade in the language of design patterns) around the XMLHttp class of the Microsoft XML Core Services (MSXML) library. The purpose of the class is to make an asynchronous HTTP request and receive a response from a VB6/VBA based client.
Continue reading
ASCII Codes
This is a more complete version of the original article.
Continue reading
API
APIs (Application Programming Interfaces) are used to access functions in external libraries such as DLLs, OCXs and LIBs. They are an extremely powerful tool that allows us to tap into programming power that VBA in itself cannot reach. The most widely used APIs are the Win32 APIs, allowing us to do things such as use the windows common controls and dialogs (Open/Save Files, Browse Folders, get Temp Paths and Temp File Names), interact with the Spooling (printing) system, and intercept and act upon messages that the operating system sends and receives (hooking).
Continue reading
ACE SQL Body
Access, like many RDBMS uses Structured Query Language (SQL) to define queries. Novice developers or casual users may have never seen a single SQL keyword when building queries. This is possible thanks to Access’ excellent graphical query builder. However, there are times when writing SQL may be desirable or in some cases, required.
Continue reading