Hello, the best way is to overwrite every method on the form-control, the datasource-field, the datasource and the table. put an output (write to file or print) before and after the super()-call public boolean validatefield(int fieldid) { print "table-validatefield before super"; super(); print "table-validatefield after super"; }
on this way you will see, the validation sequence is exact how its in the advanced x++ manual. best wishes, SebDra --- In [EMAIL PROTECTED], "dgaethofs" <[EMAIL PROTECTED]> wrote: > Dear all, > > The advanced x++ development manual says that the order in which > validation takes place when we leave a control is by executing the > following methods: > > 1. Leave on the form control > 2. Validate on the form control > 3. Modified on the form control > 4. Validate on the data source > 5. ValidateField on the table > 6. Modified on the data source. > > I have been testing this by defining these methods for a field on > the CustTable. > > When I update the field the order is: > 1. Validate method on the form control > 2. ValidateField method on the table > 3. Validate method on the data source > 4. Modified on the form control > 5. Leave on the form control > > The leave method is executed twice. > > > My question is where can I find the exact validation sequence that > is used ? > > regards, > Danny ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/