1
Answer

how to display an array.

kate 0

kate 0

19y
2k
1
Hello everyone Could anyone help me, ive just started playing with vb programming, well actually programming and i am trying to display all of the values in an arraywhich i have created, my array is this: (also is this a 2 dimensional array?) Dim employee as object ( , ) = { {"Dave Keith", 47, 12.5, 13, 234563}, {"Emile Winston", 4, 31.3, 52, 9787618}, {"David Smith", 16, 12.5, 13, 234111}, {"Ronnie Serba", 74, 2.13, 12, 586943}, {"Bryan Talbot", 47, 98.5, 13, 2340003}, {"Bert Hencklman", 39, 21.3, 42, 584343}, {"Roger Davids", 86, 1.21, 11, 234563}, {"Chuck Rice", 30, 12.6, 46, 5862543}} I wish to display them all on individual forms that only appear once i click a button on my main form. i.e. on the main form there is a button named display employee records. If there is a record to display, then the first set of values,i.e. those for Dave Keith will be displayed on a form2, then if there is another set this will appear on form 3 and so on. Hopefully when i run the code i will have the main form plus one form displaying the values for each person in the array, this data for each person will be placed in text boxes or similar so i can do processing on it

Answers (1)