>How come I get this error -
>
>Cannot access the selected table (Error 1152).
>
>
>I have a form with an Exit command button.
>
>This is the only code in the Exit button -
>
>THISFORM.Release
>CLOSE ALL
>QUIT
>
>Any ideas? Thanks for the help.
Try to remove CLOSE ALL from this code. If you really want to clean up work areas, you may do it after READ/CLEAR EVENTS in Main.Prg (it's also better place to call QUIT).
Edward Pikman
Independent Consultant