Hi all,
How do I get the data from an array, into a text box on a report?
I have the three following arrays populated from a list view...
g_asPupilNum(j) = lvPupils.ListItems(i).Text
g_asNames(j) = lvPupils.ListItems(i).SubItems(1)
g_asClassName(j) = lvPupils.ListItems(i).SubItems(2)
How can I get the first text box on my report to display the first item from my array?
Which property should I use where I have placed an X in the following line of code?
objAccess.Reports(0).Controls!txtClass.X = g_asClassName(j)
Or is this the wrong way entirely?
Any help very gratefully received.
How do I get the data from an array, into a text box on a report?
I have the three following arrays populated from a list view...
g_asPupilNum(j) = lvPupils.ListItems(i).Text
g_asNames(j) = lvPupils.ListItems(i).SubItems(1)
g_asClassName(j) = lvPupils.ListItems(i).SubItems(2)
How can I get the first text box on my report to display the first item from my array?
Which property should I use where I have placed an X in the following line of code?
objAccess.Reports(0).Controls!txtClass.X = g_asClassName(j)
Or is this the wrong way entirely?
Any help very gratefully received.