When you say it's not working quite right, what exactly do you mean? Are there errors generated, are the user's values not being sent, or something else? A while loop is the correct way to go but without seeing the code, it's hard to say what's wrong with your program. The controls have to inside the while loop and make sure you have error in/error out connections wired. Please provide more details or attach a sample program that demonstrates the problem.