Using Microsoft Script Editor for Data Access Pages - First look at the DAP design environment
(Page 3 of 5 )
This will get you back to Microsoft Access with Page1: Data Access page. The gridded area is where you will be placing your data bound controls. These controls will be associated with the FieldList. In the main menu, View will give you access to the other important items like FieldList, HTML Source, Page View, and so on as shown in Fig.7.
Fig.7
For example, clicking View --> FieldList will open the field list as shown in Fig.8. Only a truncated portion of the queries is shown here. The Tables and the Queries contain the data and they can be dragged and dropped into the gridded area.
Fig.8
You may also drag and drop a subset of the columns of a table onto this area by individually clicking the column and dragging it into the gridded area. While dragging, a small icon will appear attached to the cursor and while dropped, the dropped area will get a blue outline. A dropped object can be deleted as well. However watch for the handles to appear and use cut from the main edit menu. If the dropped area has a hashed border there will be a different context menu. After dropping the object, if you right click the object, you could go on to many other options. However, this tutorial is not about a description and use of those options but laying a background to describe how you may script a DAP.
Fig.9
However since you will need objects on your Dap for which you can write a script, drag and drop a few columns from one of the tables as shown in the above screen. In the design view you should be able to use all the design utilities like Format as shown. Also the direction arrow keys with shift and control should manage the object size and positions. The Page1.htm needs to be saved before it can be previewed, or viewed in the browser. Let page1 be saved as DAP1.htm. It gets saved to the default directory C:My Documents. You may preview it after saving. We will be working with this in the next tutorial as well; therefore you might want to bookmark it so that you can go back to it.
Next: HTML Source View >>
More Microsoft Access Articles
More By Jayaram Krishnaswamy