I understand the addcol and addrow now, thanxs! But how do I save the information from button artnr, porder and soortreg into the file (I thought it would work like this, but it does not). Also I want to 'append' the file when generating more info by pressing the OK button.
Table1.AddCol(cString, "Artnr", 50)
Table1.AddCol(cString, "Porder", 50)
Table1.AddCol(cString, "Soortreg", 50)
Table1.AddRow(artnr,porder,soortreg)
Table1.SaveCSV("WithoutHeader.csv", ",", False)