autoitxp Posted March 24, 2008 Share Posted March 24, 2008 (edited) Hi im trying to populate _GUICtrlListView_InsertColumn fields but stucked in line Dim $cols[27] = [stringTrimRight($string, 1)] this line not getting proper values where is wrong help ! $iRval = _SQLite_Query(-1, "SELECT * FROM mytable;", $hQuery) If $iRval = $SQLITE_OK Then _SQLite_FetchNames($hQuery, $aNames) $string = "" For $x = 0 To 26 $string = $string & '"' & $aNames[$x] & '"' & "," Next Dim $cols[27] = [StringTrimRight($string, 1)] For $i = 0 To 26 MsgBox(0, "", $cols[$i]) _GUICtrlListView_InsertColumn($hListView, $i, $cols[$i], 100) Next Edited March 24, 2008 by autoitxp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now