[AccessD] Cancel Delete Key Only For Records (Correction)

Dan Waters dwaters at usinternet.com
Sat Apr 26 12:12:47 CDT 2008



-----Original Message-----
From: Dan Waters [mailto:dwaters at usinternet.com] 
Sent: Saturday, April 26, 2008 12:09 PM
To: 'Access Developers discussion and problem solving'
Subject: Cancel Delete Key Only For Records

I would like to cancel the keyboard's Delete key action, but only for whole
records.  How can that be done?

This completely cancels any action by the Delete key:

	If KeyCode = vbKeyDelete then
		KeyCode = 0
	End If

Thanks!
Dan







More information about the AccessD mailing list