Hi I have one command button in my form. i want my button to
1. SAVE the data upon click of button and CLEAR all fields for new data entry
2. I noticed that when I press the ENTER it will do same action as clicking my button... I tried the "on Enter event" and create a Message Box when Enter is pressed.. it works, but when I press Enter again.... it will proceed with the data transfer... I want to DISABLE the Enter command to transfer the data.. I want the user to use the Button Only to transfer the record...
Please help me with the code.. thanks....
1. SAVE the data upon click of button and CLEAR all fields for new data entry
2. I noticed that when I press the ENTER it will do same action as clicking my button... I tried the "on Enter event" and create a Message Box when Enter is pressed.. it works, but when I press Enter again.... it will proceed with the data transfer... I want to DISABLE the Enter command to transfer the data.. I want the user to use the Button Only to transfer the record...
Please help me with the code.. thanks....