>>Friday greetings :)
>>
>>With the help of several of you, I figured out the problem with Ctrl+S to call my save routine.
>>
>>I've changed all the shortcuts to Shift+key to allow more choices (since many like C, X, V are used with Ctrl as Windows standards in editing).
>>
>>My code is
DO CASE
>> **Save
>> CASE nKeyCode=83 and nShiftAltCtrl=1
>> THISFORM.qcmdsave1.CLICK
>>
>> **Next
>> CASE nKeyCode=78 and nShiftAltCtrl=1
>> THISFORM.qcmdnext1.CLICK
>>ENDCASE
>>
>>This works wonderfully except in the case when the cursor is in a text field - then it put the letter at the cursor location (for example, if I press Shift+S, an "S" appears in the text box). If I press the combination again, it works properly, but once I stop, the tableupdate kicks in and thinks I've changed the record.
>>
>>Once again I humbly seek suggestions *g*
>
>Try to add NODEFAULT.
That works. Now the only problem is that in a textbox I can't capitalize the letters T, N, B, S, etc. (probably the reason I started down the Ctrl path to begin with!) I think I need a beer......
Thanks :)
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....