'-----------------------------------------------*** BkData list holds all valid booking records *------------*
Dim BoothDataRecords As Int
Dim BoothData As List
Dim bkCursor As ResultSet
bkCursor = DB.ExecQuery("SELECT * FROM BoothName")
BoothData.Initialize
Do While bkCursor.NextRow
Dim Row(3) As Object
Row(0) = bkCursor.GetString("Booth")
Row(1) = bkCursor.GetString("Secure")
Row(2) = bkCursor.GetString("Bookable")
BoothData.Add(Row)
Loop
bkCursor.Close
BoothDataRecords = BoothData.Size
BoothA.Text= " ": BoothB.Text = " ":BoothC.Text= " ": BoothD.Text = " ":BoothE.Text= " ": BoothF.Text = " ":BoothG.Text= " "
' Log("booth Records count "&BoothDataRecords)
For i = 1 To BoothDataRecords -1
Dim ListRow(3) As String = BoothData.Get(i -1)
Log("ListRow "&ListRow(0))
Next