Is it possible to loop a form multiple times based on a number from a user.
Say a user enters a number in a textbox in form1 which will determine the amount of times the form2 will be displayed each time after a next button is clicked.
So i enter 2 in form1 click a button that will display form2 in form2 is a next button so if i click the next button form2 will be displayed with empty data.
Now lets say i have a textbox in form2 and want to save the value entered each time in form2 how would i do this.
I know if i say in a the next button click event
dim f2 as new Form2
f2.display()
but how do i save the values?
Thanks
Say a user enters a number in a textbox in form1 which will determine the amount of times the form2 will be displayed each time after a next button is clicked.
So i enter 2 in form1 click a button that will display form2 in form2 is a next button so if i click the next button form2 will be displayed with empty data.
Now lets say i have a textbox in form2 and want to save the value entered each time in form2 how would i do this.
I know if i say in a the next button click event
dim f2 as new Form2
f2.display()
but how do i save the values?
Thanks
Last edited: