Question
Recordset to Array
Hi,
Is it possible to create an array from a recordset, I googled and found some
solution but could not get any to work
Dim rsReviewerInfo
Dim rsReviewerInfo_numRows
Set rsReviewerInfo = Server.CreateObject("ADODB.Recordset")
rsReviewerInfo.ActiveConnection = MM_dbtest_STRING
rsReviewerInfo.Source = "SELECT NameInitial, FullName From Contact_tbl"
rsReviewerInfo.CursorType = 0
rsReviewerInfo.CursorLocation = 2
rsReviewerInfo.LockType = 1
rsReviewerInfo.Open()
rsReviewerInfo_numRows = 0
Any help is appreciated
Thanks!
Is it possible to create an array from a recordset, I googled and found some
solution but could not get any to work
Dim rsReviewerInfo
Dim rsReviewerInfo_numRows
Set rsReviewerInfo = Server.CreateObject("ADODB.Recordset")
rsReviewerInfo.ActiveConnection = MM_dbtest_STRING
rsReviewerInfo.Source = "SELECT NameInitial, FullName From Contact_tbl"
rsReviewerInfo.CursorType = 0
rsReviewerInfo.CursorLocation = 2
rsReviewerInfo.LockType = 1
rsReviewerInfo.Open()
rsReviewerInfo_numRows = 0
Any help is appreciated
Thanks!
