Scripting a Data Access Page: a Simple Example
(Page 1 of 4 )
It's easy enough to use the Microsoft Script Editor to create a data access page. You can change that page in a variety of ways using JavaScript. This tutorial shows you how.
Introduction
In the previous tutorial on data access page scripting, an overview of the Microsoft Script Editor in the MS Access environment was described. This second article shows how you may use the script editor to carry out modifications to a Data Access Page using the JavaScript language (ECMA).
This tutorial shows you step-by-step how you may script the page so as to make context sensitive changes to the heading of the page, and apply some simple filtering to the data. Some experience with JavaScript/VbScript is assumed, although Data Access Pages use ECMA (same as Javascript, but with syntax according to ECMA standards) for its scripting. Again, this article will not be using Microsoft Office Web components.
This tutorial is self-contained in order that you may concentrate on the tutorial without it being necessary for you to follow hyperlinks. However, it will be very helpful if you would review the other articles on Data Access Pages on the ASPFree.com site.
Next: Creating a data access page >>
More Microsoft Access Articles
More By Jayaram Krishnaswamy