Hi GeetRamesh,

Validatewrite will be invoked only when you move the focus from one tab to 
another where the datasources is/are different. 

For Example in "CustTable" form
When you change tabs, the table changes, as a result system (kernel) requires 
to save data on previous table when user moves to details tab(DirPartyTable), 
since one of mandatory fields is not filled in CustGroup, system shows an 
infolog.
As the focus is set back to the form the INFOLOG appears recursively, since 
each form opens in a new window for AX2009 thereby the position is set on the 
active form.

The only way to that is change focus back to other("Overview") tab and close 
the infolog window.This is the how the kernel designed behaves.

What i would suggest is to design a simple form with two tab and refer to the 
same datasource. Try checking if still the validateWrite method is invoked when 
u change tab.

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, "geethramesh" 
<geethram...@...> wrote:
>
> Hi,
> 
> I have a form with multiple datasources.
> In the grid, when I move from one tab to another, where the datasource is the 
> same between the tabs moved, the table's validatewrite method is executed.
> 
> Is there any reason why the validatewrite is executed, inspite of me not 
> forcing the insert into the table when the tab is changed?
> 
> 
> Thanks in advance,
> GR.
>


Reply via email to