>I want to display a form in my VFP program code. I then want the user to be able to enter a range of shipping numbers into two textboxes. The two values then need to be passed to variables in the rest of my program. I can not get the form to obtain focus on the first textbox. After the "DO FORM" code, the form is displayed, but I can't get focus on my textboxes. It just continues to run code in the remaining part of my program. I have tried lots of different things in the form's procedures & properties.
Hi,
Make your second form Modal (form.windowType = 1) and this will cause code in the first form to pause until the second is released.