ax 2012

I have 2 fields on one form Emp starting date and Emp seniorty date, when i enter Emp Starting date, its should display same date in place of Emp seniorty date. please help me with code.

k write the below code in the modified() method of the Emp startingdate field in the datasource

datasource → emptable(ur table name) → fields → Emp starting date

public void modified()

{

super();

EmplTable.Empsenoritydate = EmplTable.emp startingdate;

}

or

code in the table modifiedfield method:

public void modified:

this.emplsenioritydate = this.emp startingdate