B
B
bender30002016-12-22 07:38:16
Visual Basic
bender3000, 2016-12-22 07:38:16

How to insert array(i) = array(i).ItemData(0) into the loop?

How to write a loop for given elements?
Me.effort0 = Me.effort0.ItemData(0)
Me.effort1 = Me.effort1.ItemData(0)
Me.effort2 = Me.effort2.ItemData(0)
Me.effort3 = Me.effort3.ItemData(0)
Me. effort4 = Me.effort4.ItemData(0)
Me.effort5 = Me.effort5.ItemData(0)
Me.effort6 = Me.effort6.ItemData(0)
Me.effort7 = Me.effort7.ItemData(0)
Me.effort8 = Me.effort8.ItemData(0)
Me.effort9 = Me.effort9.ItemData(0)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Артём Каретников, 2016-12-23
@art_karetnikov

FOR ... EACH

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question