Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'No parameter statement is found' in VFP3
Message
From
15/09/2003 21:06:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00828995
Message ID:
00829204
Views:
28
Hi,

I tried using ISEXCLUISVE(), but still having the same error "No parameter
statement is found".

I check with the VFP3 help that the calling program need to had parameters
which I don't need. Including them also don't solve the problem. Please advise. Thank you


>ISEXCLUSIVE([cTableAlias | nWorkArea | cDatabaseName [, nType]])
>is a native foxpro function. So it looks strange, that it returns the error message.
>Because you are already sitting on the table, did you try just ISEXCLUSIVE()?
>
>>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
Best Regards
Virusim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform