Table1.Initialize(Me, "Table1", 5)
Table1.AddToActivity(Activity, 0, 0dip, 100%x, 50%y)
Table1.SetHeader(Array As String("Name", "Class", "stream", "Amount","Date"))
cursor1 = SQL1.ExecQuery("SELECT * FROM student")
For i = 0 To cursor1.RowCount - 1
cursor1.Position = i
Table1.AddRow(Array As String(cursor1.GetString("Names"), cursor1.GetString("Class"), cursor1.GetString("Stream"), cursor1.GetString("Amount"), cursor1.GetString("Amount")))
Next
Table1.SetColumnsWidths(Array As Int(100dip, 50dip, 50dip, 60dip,50dip))
Activity.AddMenuItem("Jump To 3000", "Jump1")
Activity.AddMenuItem("Jump To 0", "Jump2")