Hi,
Recently, I was doing some enhancement for a VFP3 written old application.
When my menu call one of the form.
The form will check whether one of the table is open exclusive for packing,
if not, will prompt a message and return.
However, I keep getting this message 'No parameter statement is found' on my
return statment, with my messagebox not working.
My menu is calling this form using a procedure which I had added
a dummy parameter list, but it does not help as shown below
DoBackup procedure called by menu option
========================================
PARAMETERS pvAns
DO FORM frmBackup
------------------------------------------------
Part of FORM code that causing the above message
------------------------------------------------
SELECT backup
IF NOT ISEXCLUSIVE("backup")
=Messagebox("File not in exclusive mode")
RETURN
ENDIF
Please advise how do I solve this simple problem.
Thank you