>>The code section is:-
>> ROLLBACK
>> CANCEL && I have tried with and without Cancel
>> CLOSE DATABASES
>> CLOSE TABLES
>> QUIT
>>
>>Any ideas on what I am doing wrong here?
>>
>>Alain Legrand
>
>
>Have you tried CLEAR ALL and CLOSE ALL instead of the other two CLOSE statements?
(John Koziol)
Here is some code I got from Mike Feltman of F1 Technologies:
set function ctrl+F1 to ;
"cancel; clear all; close all; clear program;" ;
+ " clear all; on error; on shutdown;" ;
+ " modify window screen; set path to;" ;
+ " set sysmenu nosave; set sysmenu to default;" ;
+ " clear all; close all; _screen.MousePointer = 0 "
I use this in a macro so that I don't have to quit (and in those cases where VFP says "unable to quit"), but there may be some gems in there that will help your situation. This macro seems to work reliably for me.
Peter Robinson
Peter Robinson ** Rodes Design ** Virginia