VB Script to compare and update the date values for 2 date fields

SOLVED

Hi 

I have a business requirement, where we have a Date Field1 and Date Field2, while entry of the details data, Field1 will get the date auto defaulted from the header date field. And Field2 will be blank.

Later when there is an update on the Date Field1 a message box should pop up and the user should confirm to either populate the Old Value(field1) to Date Field2 -'Y'/'N', and likewise system should save new value for Date Field1 and old value to date Field2 on user confirmation. 

Any experience with such scenario and possible solution will be helpful.

Thanks

AJ