Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters() an Pcount functions
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355239
Message ID:
01355256
Views:
13
Check this thread Parameters and what to check Thread #1261696

>I'm having a problem with an application I've just created where no matter how many parameters I pass the exe or even if I don't pass one at all the Parameters() and PCOUNT() functions are returning a value of one. I've used this same section of code in dozens of applications and this is the first time I have ever encountered this problem Any help is greatly appreciated.
>
>
>PARAMETERS sch_tsk
>
>IF PARAMETERS() > 0
>      M.TASK_CMD = sch_tsk
>ENDIF
>
>DO FORM ('FRMSCAN')
>READ EVENTS
>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform