ocr: Code Cleanup -OX Options Format With cmd CommandText: == "SELECT * FROM Commands" ActiveConnection == conn SetrsCommands = Execute Endwith OX Set conn = Nothing Set cmd = Nothing Case ReDim Preserve Cmds(1) Do Preceding line of code. While Not rsCommands.EOF Else amdincnacoum.Commanalet == sLomma Elself Case CmdlinL.md.oumiBocsaler Lmdsint_mdLount),BlockBetore = = sCommands. sLommanc End Enum Following Line of code.. CmdsintCmdCount,WhitespaceBelote = rsCor End Function mdsintmdLount,Whnitespaceatter = rsLomr End If End Select intCmdCount = intCmdCount +1 End Sub ReDim Preserve mdsint_mdLount) ...