I illy2k Registered User. Local time Today, 19:38 Joined Apr 21, 2003 Messages 51 Jan 12, 2004 #1 Can you stop a tab key stroke? In vb have an on exit vb sub that stops you from tabbing out of that field if a certain condition is not met, for example: If IsNull(Me!AnyField) Then stop tab End If was just curious
Can you stop a tab key stroke? In vb have an on exit vb sub that stops you from tabbing out of that field if a certain condition is not met, for example: If IsNull(Me!AnyField) Then stop tab End If was just curious
W WayneRyan AWF VIP Local time Today, 19:38 Joined Nov 19, 2002 Messages 7,120 Jan 12, 2004 #2 Richard, You need to use the BeforeUpdate and/or the BeforeInsert events of the form to: Code: If IsNull(Me.AnyField) Then Msgbox("You must make an entry here.") End If Wayne
Richard, You need to use the BeforeUpdate and/or the BeforeInsert events of the form to: Code: If IsNull(Me.AnyField) Then Msgbox("You must make an entry here.") End If Wayne
I illy2k Registered User. Local time Today, 19:38 Joined Apr 21, 2003 Messages 51 Jan 12, 2004 #3 lol Richard Feynman was a theoretical physicist. That isn't me, at least not yet.