Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter value incorrect in passing
Message
From
16/06/2005 10:56:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01023942
Message ID:
01023977
Views:
11
Is there a table or cursor with cMainKey defined as CHR(25)?

Looks like it to me, in which case you should put:
parameters m.cMainkey
(note the "m.") in your PARAMETERS statement.

good luck


>Can somebody help me I am really confused!!!!
>
>We are currently running a vendors software which you can invoke your own programs from. When I invoke my own program I pass a field as a parameter. I then use this parameter to run another program from which I can then run various options.
>
>In the vendors software the following runs my program:
>
>
>IF STYLESUM=alltrim('Export Costing')
>	exportcost(workstyle.mainkey)
>ENDIF
>
>
>The value of workstyle.mainkey = "T59*AU04*NEIL6803T*TECHNICAL"
>
>My program exportcost then accepts the parameter for mainkey and then invokes a routine to run an external application
>
>
>LPARAMETERS cMainkey
>! /N U:\questpdm\costings.exe &cMainkey
>
>
>The value of mainkey = "T59*AU04*NEIL6803T*TECHNICAL"
>
>In the main form of my costings.exe program at the start I then accept the parameter i.e.
>
>
>parameters cMainkey
>
>
>The problem I have is that the value of mainkey is "T59*AU04*NEIL6803T*TECHN"
>
>Has anybody experienced the same kind of problem. Its chopping some characters off my mainkey when passing parameters. I am really confused!!!
>
>Any help would be greatly appreciated!
>
>Many Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform