I am using VFP9 and have set reportbehavior 90. I then scan a file and want to cancel the report (option) I put following code in:
LOCAL llDone
ON KEY LABEL del llDone = .T.
SCAN
IF llDone
ON KEY LABEL del
EXIT
ENDIF
** then code to print report
This doesn't work in with 90 but if set reportbehavior 80 it works.
LOCAL llDone
ON KEY LABEL del llDone = .T.
SCAN
IF llDone
ON KEY LABEL del
EXIT
ENDIF
** then code to print report
This doesn't work in with 90 but if set reportbehavior 80 it works.