Thanks Steffen Thomsen and smuzoen for your prompt responses. Steffen, your code worked well. The only issue I faced was that the cursor appears in the same position. If this can be moved up one row, then the solution would work really well. I added
after the
line. Got the code to work just the way I wanted
Sumzoen : Also tried out your code. Had a couple of issues. The error message does not go away once the second instance has been deleted. Pressing enter again deletes the first instance.
Thanks to both of you, my application is now getting slicker thanks to all your contributions. Appreciate your contributions.
Anand
Bookmarks