Dan
Thu Mar 06 14:01:49 CST 2008
Short answer:
Do yourprogram WITH "your parameter"
This is in the help file. :-) Do a search for the topic titled "Procedures
and User-Defined Functions" which has a much better description than I could
provide in a newsgroup post.
Dan
PSULionRP wrote:
> How do I pass data to the parameter.
>
> Thanks for your previous reply and like I said, I'm a novice here to
> FoxPro. I have pretty extensive CICS background.
>
> Thanks again.
>
> "Dan Freeman" wrote:
>
>> The variable pcParams *must* be a character string because of the
>> way you're using it. The error message is telling you it isn't.
>>
>> Either you're passing another data type to the program, or you're not
>> passing anything at all and it's defaulting to logical .f.
>>
>> A good beginner's reference is here:
>>
http://www.hentzenwerke.com/catalog/fund6.htm
>>
>> Dan
>>
>>
>> PSULionRP wrote:
>>> Very Novice here.
>>>
>>> Getting this error message within Visual FoxPro program.
>>>
>>> Error number: 11Error message: Function argument value, type, or
>>> count is invalid.Line of code with error: IF "TEST" $
>>> UPPER(pcParams)Line number of error: 175Program with error:
>>> CREATE_INC_EXPORT
>>>
>>> Can someone help me???
>>>
>>> I see the attribute pcParams defined. The line of code for that
>>> is...
>>>
>>> LPARAMETERS pcParams
>>>
>>> Also, does anyone have any suggestions for training and/or reading
>>> material for novice FoxPro???
>>>
>>> Thanks in advance for your help and consideration.
>>>
>>> PSULionRP