| Vendor | MindTouch |
| Type | Native |
| Categories | Database |
| Requires | MindTouch 8.08 or later |
| OS Restriction | Microsoft Windows Server 2003/2008/Vista |
| Status | Stable |
| License | Standard/Enterprise |
| SID (service id) | sid://mindtouch.com/std/2008/06/microsoft.access |
| Assembly | mindtouch.access |
Table of Contents
This extension contains functions for displaying data from Microsoft Access databases.
See also How to add an extension, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
Configuration:
Before the Microsoft Access extension can be used, it must be configured with the access information to the database.
| Config Key | Description |
| mdb-filepath | Microsoft Access database file location. |
If you need to configure multiple databases for the same wiki, register this extension once for each database. Use the following preference to specify a unique namespace value for each registration. Invoke the service using this value instead of access. For example, if you set namespace=mydb1, you would invoke the service with mydb1.table("...") instead of access.table("...").
| Preference | Description |
| namespace | Specifies a custom namespace (default: access) |
NOTE: The folder in which the Microsoft Access database resides must have appropriate rights granted, otherwise you will receive a "Could not create lock file" error.
Show results of a SELECT query in a sortable table.
Parameters:
| Name | Type | Description |
| query | str | SELECT query. |
Samples:
| Output | ||
|
Show single value from a SELECT query.
Parameters:
| Name | Type | Description |
| query | str | SELECT query. |
Collect rows as a list from a SELECT query.
Parameters:
| Name | Type | Description |
| query | str | SELECT query. |
| column | str | Optional. Column name. (default: first column) |
Collect all columns from a SELECT query.
Parameters:
| Name | Type | Description |
| query | str | SELECT query. |
Collect all columns and all rows from a SELECT query.
Parameters:
| Name | Type | Description |
| query | str | SELECT query. |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |