[AccessD] Form_KeyPress doesn't fire?

S D accessd667 at yahoo.com
Thu Apr 1 00:38:38 CST 2004


Hi group,
 
i've got some code in the form_keypress event. When does this fire? It doesn't fire while in a control, focus on the form ?!?! What am I missing.
 
Private Sub Form_KeyPress(KeyAscii As Integer)
   MsgBox "hello world"
   frmKAM_ProcesKey (KeyAscii)
End Sub
 
When a user presses the keys [pagedown] or [pageup] while he is editing a record, the record is automaticly saved. I don't want this to happen. That's the KeyPress is for, isn't it?
 
TIA
 
Sander
 
PS: I also tried putting it in KeyDown.
PS2: Guess who added Hello world :-)


---------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today


More information about the AccessD mailing list