filled Scorllview, iterate through and write values into Sqltab

NoName

Member
Licensed User
Longtime User
Hi,

I fill a scroll view with panels/labels etc. (similar to the "CustomScrollView" Example) with a tab of a SQLite DB. Name/Street/Zip etc. Works very fine.
No I want to update the changed data of Edit, checkboxes etc. How can I iterate through the Scrollview and put the values in a row of a tab?

sqls.begintransaction ' ok, tip to my last post

for i=ScrollView.Start to Scrollview.End '?? first prob start & end

sqls.execnonquery2(insert into foo values (???))
And here is the my 2nd prob, how can I get the values of the Scrollview "rows"?
I have e.g. a checkbox in this Scrollview added
for i = 1 to 20
Dim chk1 As CheckBox
chk1 .Initialize("")
Panel1.AddView(chk1 , 5dip, 5dip, 75%x, 48dip)
next

How can I get the value of chk1 to put it in a row of the Datatable?

I hope my question is figured out, its "hard" to explain...

Thx in advance,
NoName
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…