View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
When I call http://www.config.org/potter/reply.fwx I get the following error:
 
      Error #:      16
      Message: Unrecognized command verb.
      Program: C:\INETPUB\POTTER\POTTER\REPLY.FXP
      Line #: 3
      Line: PARAMETER m.CurrentRec
 
Is it possible that you have other code before the PARAMETERS command?  Static HTML code would also cause a problem.  Consider the following example:
 
<HTML>
<BODY>
<%
PARAMETERS CurrentRec
... more code ...
 
The fact that the PARAMETERS statement is in line 3 of your script leads me to believe that this is what is going on.  In fact if you insert a PARAMETERS statement in any place other than the top of a VFP program you will get the above error.

FoxWeb Support Team
support@foxweb.com

 

Sent by John Potter on 03/29/2002 04:06:26 PM:
Hello,

I have the following stub in http://www.config.org/potter/browseBeta.fwx:

=Server.Execute("reply.fwx",m.currentRecNo)

It generates the error message below:

Error #:      1238
Message:  No PARAMETER statement is found.
Program:  C:\INETPUB\POTTER\POTTER\REPLY.FXP

The very first lines in http://www.config.org/potter/reply.fwx are:

<%
PARAMETER m.CurrentRec
private m.CurrentRec,string
set proc to foobar
=OpenFiles()
sele DATA
set orde to
goto m.CurrentRec
%>

What's up?

Ciao,

John Potter