trap the ascii equivalent of enter key, it is 13 use that..
for eg
Private Sub pass_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
do what you want to do
end if
hope this helps
----- Original Message -----
From: "Samsul Arifin" <samsul@i...>
To: "Access ASP" <access_asp@p...>
Sent: Tuesday, August 20, 2002 2:08 PM
Subject: [access_asp] Submit without submit button
> How can i submit data without the form submit button, example i want to
submit data with only pressing enter...
>
> andra.
>
>
>