Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no parameter statement? 2

Status
Not open for further replies.

kylefield

Technical User
Nov 10, 2005
7
US
I wrote a small program (VFP6) then compiled it to an executable and it runs fine from Windows. When I try to run it from an Outlook rule (with a plug-in called EZDetach) it always says "No parameter statement is found" - but I have no parameters (that I know of).

Why does it run fine by itself but is asking for parameters when going via this plug-in?
 
Sounds like the plugin is trying to pass in parameters. (And they'll probably be useful.)

But if they're not, you can safely discard them. Just add a parameters statement and don't do anything with the passed parameter.
 
Thanks Dan,

Can you give me an example of how I write the parameter (the one I'm not going to do anything with).

Thanks in advance. You have been a big help.
 
Just add:
[TT]
LPARAMETERS dummy
[/TT]
as the first line of the program.

If you still get the error then the plugin is trying to pass more than one parameter. Try:
[TT]
LPARAMETERS dummy1, dummy2
[/TT]

and keep adding parameters until you've swallowed them all.

Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top