mattloflin
Question Askin Lad
- Local time
- Yesterday, 20:20
- Joined
- Dec 22, 2007
- Messages
- 31
Im creating labes 10 to a sheet. I need code that will let me add a number to each label...
simply put
for x = 1 to 10
Reports!rptTest.txtPart(x) = "test" & x
next x
I have textboxes -> txtPart 1 thru 10 (txtpart1, txtpart2...) that i need to read "test" and the value of x
so when I click preview it should generate the labels and the for loop should go txtPart1 = "test1" txtPart2 = "test2"
now I have tried this in the onformat event and it doesn't read onformat on this report unless i need to call it. So basically HOW CAN I DO THIS FROM A FORM ?!?!?!
You guys rock!
simply put
for x = 1 to 10
Reports!rptTest.txtPart(x) = "test" & x
next x
I have textboxes -> txtPart 1 thru 10 (txtpart1, txtpart2...) that i need to read "test" and the value of x
so when I click preview it should generate the labels and the for loop should go txtPart1 = "test1" txtPart2 = "test2"
now I have tried this in the onformat event and it doesn't read onformat on this report unless i need to call it. So basically HOW CAN I DO THIS FROM A FORM ?!?!?!
You guys rock!