Data into TableView

Hi Folks,

can someone tell me how to put data into table view? I have a loop and on the and of the loop I want to enter the variable
a,b,d,e into the fields A,B,C,D…

Does anybody can tell me how to do this?

I have tried with:


set Table_Data to {{A: a, B: b, C: c, D: d}}
set tableView to table view "sms" of scroll view "sms" of tab view item "Inbox" of tab view "tab" of window "main"
tell tableView to update with Table_Data


But this is not working…

Any suggestions?

Thanks,

Stefan

First step is done:


set content of table view "sms" of scroll view "sms" of tab view item "Inbox" of tab view "tab" of window "main" to {{theNumber, Q, Z}}

but when going through the loop it is overwritting the old entry instead of making a new row…

thanks for any suggestions,

Stefan