End date should be after start date

Hi Techies;

I need some help regarding Start date and end date.

I have 2 fields in table

Start Date

End date

the end date should be after start date .

plz explain me where i can find this logic and where i ahve to written

Assuming that you want to run the validation when a record is being saved, the right place is validateWrite() method.

Thanks for reply Martin,

Can you plz help me out the logic also

All right, what problem do you have with it?

If you don’t know how to use validateWrite(), don’t forget that you have access to the whole standard application. For example, you can look at CustBankAccount.validateWrite().