> > Of course if I could get redisplayFieldsOnError to work I wouldn't > > have to worry about this so much ;^) > I am heavy at work. Phillip commmented out some lines which > deals with errors and navNew events because he has problems > in subforms! > I think here is the problem. > > Philip: > Do you remember this change? > // [EMAIL PROTECTED] > // 2003-12-16 > // Commented code to fix the following problem: > // Insert invoked in sub-form, validation error, > suppose to re-populate all fields (parent and child) > // Commented code changes all field names to > INSERT type - making repopulate impossible! > > Could you construct a bookstore example to reproduce the > problem with subforms? No we have the problem that inserting > data in a single form do work correct... > OK, found the problem and fixed it! Problem is that the code Philipp comment out do an rediplay on error. But in subforms this redisplay happens for the main form too. Not more no, i compare the tableId of the against the tableId of the insert event...
Please do a test! Regards, Henner ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
