Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SUBFORMS AFFECT REQUIRED PROPERTY VALIDATION ON MAIN FORM?

Status
Not open for further replies.

nobuddy

MIS
Sep 30, 2000
10
US
I have a form that has several subforms within the layout. Right now, they are in the middle of the tab order. The form/subforms worked perfectly fine until I set the property of some of the main form fields to "required." Now, as I tab into the first subform, it keeps giving me an error message about Null required fields that are AFTER the subform in tabbing order. Of course they're Null, I haven't gotten to them yet!

So my question is, does the main form lose focus when you tab into a subform field? Is this causing the validation of all of the required fields whenever I tab into the first subform? Is there any way around this? I can't change the tab order, because the subforms are necessary to create a form that mocks the paper form that they are entering the data from.

Any suggestions would be much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top