BobJacksonNCI
Technical User
TIA,
I'll probably figure out a workaround, but am posting for feedback and because this may be annoying others.
I have a drop-down combo box that is populated by a Select statement. If I enter a record and then try to duplicate an entry in a subsequent record using the shortcut key of Control + Apostrophe, I get:
Run-time error '94' Invalid use of Null
Has someone else run into this and resolved it so the shortcut key can be used?
Alternately, what is the character code for Control + Apostrophe. Or, how can I figure it out...
With that information, I can disable it using:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case ??
KeyCode = 0
End Select
Your assistance IS appreciated!
Bob
I'll probably figure out a workaround, but am posting for feedback and because this may be annoying others.
I have a drop-down combo box that is populated by a Select statement. If I enter a record and then try to duplicate an entry in a subsequent record using the shortcut key of Control + Apostrophe, I get:
Run-time error '94' Invalid use of Null
Has someone else run into this and resolved it so the shortcut key can be used?
Alternately, what is the character code for Control + Apostrophe. Or, how can I figure it out...
With that information, I can disable it using:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case ??
KeyCode = 0
End Select
Your assistance IS appreciated!
Bob