>I have a form w/Private Datasession. I initially select a table and place the cursor in a grid on the form. In the init of the form I have the following code:
>
>ON KEY LABEL HOME GO TOP
>ON KEY LABEL END GO BOTTOM
>
>However, when I hit the listed keys, the Open Table dialog pops up.
>Obviously, this code is pointing to the default session rather than the current private session. How can I account for this ??
>
>Thanks
Bruce,
Don't use ON KEY LABEL instead use the Form's KeyPress event with the Form's KeyPreview property set to .T.