Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing User Input from forms
Message
From
12/06/2000 11:25:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00376185
Message ID:
00379299
Views:
26
Freddie,

Remove the comma after "Num_chgs". The last field in a SELECT should not have a comma after it.

>Then a Program Error ---Command is missing required claus.
>Procedure: runreport
>LPARAMETERS cStatus, cInputYear
>SELECT ;
>Llspm, ;
>Status, ;
>Start, ;
>Comp, ;
>Ssp, ;
>Msr, ;
>Avail, ;
>Ship, ;
>Hull, ;
>Num_Chgs, ;
>FROM Schd ;
>WHERE Status = cStatus AND ;
>left(SSP,2) = cInputYear
>INTO CURSOR Rptstatus1
>
>Select Rptstatus1
>REPORT FORM Rptstus1 PREVIEW
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform