%@LANGUAGE="VBSCRIPT"%> <% Dim wg1 Dim wg1_numRows Set wg1 = Server.CreateObject("ADODB.Recordset") wg1.ActiveConnection = MM_giss2005_STRING wg1.Source = "SELECT * FROM reg20050124 WHERE wg = '1' AND valid = -1 ORDER BY country, lname ASC" wg1.CursorType = 0 wg1.CursorLocation = 2 wg1.LockType = 1 wg1.Open() wg1_numRows = 0 %> <% Dim wg2 Dim wg2_numRows Set wg2 = Server.CreateObject("ADODB.Recordset") wg2.ActiveConnection = MM_giss2005_STRING wg2.Source = "SELECT * FROM reg20050124 WHERE wg = '2' AND valid = -1 ORDER BY country, lname ASC" wg2.CursorType = 0 wg2.CursorLocation = 2 wg2.LockType = 1 wg2.Open() wg2_numRows = 0 %> <% Dim wg3 Dim wg3_numRows Set wg3 = Server.CreateObject("ADODB.Recordset") wg3.ActiveConnection = MM_giss2005_STRING wg3.Source = "SELECT * FROM reg20050124 WHERE wg = '3' AND valid = -1 ORDER BY country, lname ASC" wg3.CursorType = 0 wg3.CursorLocation = 2 wg3.LockType = 1 wg3.Open() wg3_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 wg1_numRows = wg1_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = 10 Repeat2__index = 0 wg2_numRows = wg2_numRows + Repeat2__numRows %> <% Dim Repeat3__numRows Dim Repeat3__index Repeat3__numRows = 10 Repeat3__index = 0 wg3_numRows = wg3_numRows + Repeat3__numRows %>
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||