Stuart McCall's Microsoft Access Pages - Downloads

Home

Format SQL for use in code

Converts SQL from:

SELECT tblDemo.Field1, tblDemo.Field2, tblDemo.Field3, tblDemo.Field4, tblDemo.Field5, tblDemo.Field6, tblDemo.Field7, tblDemo.Field8, tblDemo.Field9, tblDemo.Field10
FROM tblDemo
WHERE (((tblDemo.Field4)=False))
ORDER BY tblDemo.Field2;

To (Code friendly):

    s = "SELECT tblDemo.Field1,"
    s = s & "tblDemo.Field2,"
    s = s & "tblDemo.Field3,"
    s = s & "tblDemo.Field4,"
    s = s & "tblDemo.Field5,"
    s = s & "tblDemo.Field6,"
    s = s & "tblDemo.Field7,"
    s = s & "tblDemo.Field8,"
    s = s & "tblDemo.Field9,"
    s = s & "tblDemo.Field10"
    s = s & " FROM tblDemo"
    s = s & " WHERE (((tblDemo.Field4)=False))"
    s = s & " ORDER BY tblDemo.Field2;"

Also to (Printer friendly):

SELECT tblDemo.Field1,
    tblDemo.Field2,
    tblDemo.Field3,
    tblDemo.Field4,
    tblDemo.Field5,
    tblDemo.Field6,
    tblDemo.Field7,
    tblDemo.Field8,
    tblDemo.Field9,
    tblDemo.Field10
FROM tblDemo
WHERE (((tblDemo.Field4)=False))
ORDER BY tblDemo.Field2;

To install:
  1. Select the menu option Tools | Add-Ins | Add-In Manager.
  2. Click the 'Browse...' button.
  3. Navigate to the location where you unzipped the 'SqlFormatter.mda' file.
  4. Select the file and click 'OK'
The Add-In manager will copy the file to your add-ins folder and you will find a new menu option:
Tools | Add-Ins | Sql Formatter

This add-in was developed from an idea by Allen Browne
Access 2000 format, created with Access 2003.
Last updated: 30 March 2008.
Download [44KB]

Home Contents

FTP Client

FTP Client is an Access 2000 class module to provide easy FTP upload, download and browsing facilities to an application. Fires events 'FileFound' and 'FolderFound' (among others).
A small mdb is included to demonstrate it's abilities.

Access 2000 format, created with Access 2003.
Last updated: 30 March 2008.
Download [178KB]

Home Contents

Sequence Dancing

Sequence Dancing is an Access 2000 database which demonstrates various array sorting algorithms. Watch the sorts at work using an on-screen bar graph composed of Access label controls.

Access 2000 format, created with Access 2003.
Last updated: 17 April 2008.
Download [58KB]

Home Contents

File System Class Modules

This demo mdb file contains three Access 2000 class modules:

with forms to demonstrate and test their use. See the code behind frmCopyMove for comments.

Access 2000 format, created with Access 2003.
Last updated: 17 April 2008.
Download [63KB]

Home Contents

Automatic line numbering

A small Access 2000 mdb to demonstrate an automatic line numbering technique for use with tabular forms. Also renumbers item lines following a deletion.

Access 2000 format, created with Access 2003.
Last updated: 17 April 2008.
Download [46KB]

Home Contents

Line Printer Class Module

Line Printer is an Access 2000 class module to provide easy character-mode printing to a local or remote printer via the Windows Print Spooler. Sends raw binary data, including escape sequences. A small mdb is included to show the syntax.

Access 2000 format, created with Access 2003.
Last updated: 17 April 2008.
Download [28KB]

Home Contents

Progress bar drop-in subform

Contains a re-usable subform to provide progress (percentage) bar functionality to any form.
A test form is supplied to demonstrate usage.

Access 2000 format, created with Access 2003.
Last updated: 18 April 2008.
Download [19KB]

Home Contents

Ordered list selection drop-in subform

Contains a re-usable subform to provide ordered list selection functionality (using two listboxes) to any form. A test form is supplied to demonstrate usage.

Access 2000 format, created with Access 2003.
Last updated: 18 April 2008.
Download [26KB]

Home Contents

Send email messages and attachments using the CDO library

clsCDO is a class module to enable easy access to the CDOSYS library for sending email messages via SMTP. A small mdb is provided to demonstrate the syntax.

Access 2000 format, created with Access 2003.
Last updated: 24 April 2008.
Download [32KB]

Home Contents

Recursive scan of folders and subfolders

FsRecurse is an Access 2000 class module to provide fast recursive scanning for files inside folders including subfolders. A small mdb is included to show the syntax.

Access 2000 format, created with Access 2003.
Last updated: 07 May 2008.
Download [48KB]

Home Contents

Accept files dragged from Windows Explorer

Dragdrop is a sample mdb containing 3 importable items: sfrmDragDrop, modDragDrop and clsDragDrop. Between them, they allow Access apps to accept items (folder and file paths) dragged from Windows Explorer.
Also contains a sample form to demonstrate the technique.

Access 2000 format, created with Access 2003.
Last updated: 30 June 2008.
Download [23KB]

Home Contents