Frank, Try putting a button on the form so that it gets focus just after you leave that last field. Make the button so it executes "Save Row and Exit" when it is clicked. This should produce nearly the same affect you had before.
Scott ==== Frank Carrubba wrote: > I am converting an older RBASE DOS system to Windows 6.5 and > could use some help with a form. > > I have a statement that is "Enter form1 for 1 row" > Based on the value of a variable the program either issues an Enter > new_customer or EDIT an existing customer. > > Form1 appears to work fine however does not automatically close. > The only way to get "form1" to close is to press escape. In DOS the > form went away as soon as the last field was entered. > > What am I doing wrong? > Frank Scott J. Salisbury Matrix Data Systems / The R:Street Journal 5114 Point Fosdick Drive NW, Suite E-272 Gig Harbor, WA 98335-1733 E-Mail Address: [EMAIL PROTECTED] Temporary URL: www.seanet.com/~sjs (downloads available) New Web Address: www.rStreetJournal.Com Direct Line: 206-423-7679 Toll Free: 888-386-5040 Seattle: 206-448-7975 Fax: 305-425-0491
