in label in red square is the the max element of array (the value are dinamic), i can have also 3, 12, 11, ecc.... in this case i have 20 in label, Image sco.jpg
i need to fill and array with the tree column in red.
only a problem.... image sco1.jpg
if the item in listview are minus of 20 fill the item of array, in the case of isco1.jpg, with 0 from 16 to until 20
similar for co1.jpg:
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
elem1 elem2 elem3
0 0 0
0 0 0
elem1 elem2 elem3
note:
but consider 20 is the max value 20 of the array.
FILL array dynamically
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36
FILL array dynamically
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78524
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: FILL array dynamically
Do you fill the control from a recordset? If so, it would be easier to populate the array directly from the recordset.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36