Basic HTML version of Foils prepared 4 Feb 98

Foil 24 Sample code for ASP files - II

From Overview of Microsoft Access used with Active Server Pages(ASP) CPS616 Technologies of Information Age -- Spring 1998. by Nancy McCracken and Sangetta Aggarwal


1 <SCRIPT LANGUAGE=VBScript>
2 <!--
3 Dim rgszCtrls(24, 2)
4 Dim cMaxCtrls
5 cMaxCtrls = 24
6 Sub AddCtrlToList(szCtrl, szCtrlSrc)
7 Dim i
8 for i = 1 to cMaxCtrls
9 if rgszCtrls(i, 1) = szCtrl Then Exit Sub
10 if rgszCtrls(i, 1) = "" Then
11 rgszCtrls(i, 1) = szCtrl
12 rgszCtrls(i, 2) = szCtrlSrc
13 Exit Sub
14 End If
15 next
16 End Sub
17 Sub UpdateRefreshBtn()
18 nav_btn_MoveCancelUpdate.Caption = "Cancel"
19 End Sub
20 -->
21 </SCRIPT>
22

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998