Example I got these two forms, A and B.

When I click on a date at formA, it should give me formB. Let say the date is 27/4 and wrote something in formB.

When I click on a date(28/4) at formA, it should give me formB, but this time, it is a brand new formB.

I exited formB and return to formA, I click on 27/4, how do I make it to show me back formB which I have written something in ?