Guten Morgen Ron,
maybe you have copied the redundancy from a form that switches the caption (buttons will be just text / picture / picture + text) or something that works with an external toolbar. The toolbar will look like an acces key, but the access is infact inside form.keypress.
Viele Grüße
Agnes
>Agnes
>
>Guten Tag.
>
>I remembered after Naomi replied. I always want to know why something is happening. What I forgot is that putting the backslash lessthan symbol in a command button caption causes the command button click to load the action into the event handler, (or something like that.) Therefore the Do Case stuff on the for keypress is redundant. That is why the nodefault is needed to prevent the backslash lessthan symbol in the button caption from doing the default action.
>
>Tsuss.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]