keydown event in datasheet view

  • Thread starter Thread starter JString
  • Start date Start date
J

JString

I want to be able to capture keystrokes on a form in datasheet view, but
anything I include in the keydown event isn't executed. My guess is that
Access won't trigger this event in datasheet view for some reason. Is there
any workaround to this?
 
JString said:
I want to be able to capture keystrokes on a form in datasheet view, but
anything I include in the keydown event isn't executed. My guess is that
Access won't trigger this event in datasheet view for some reason. Is
there
any workaround to this?

Try setting the form's KeyPreview property to Yes/True. (guessing)
 
Thanks all for the help. Turns out that I must have missed a save, and the
subform's source reverted back to its original query... So that's why the
code I was adding to the new form wasn't executing.
 
Back
Top