Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter value incorrect in passing
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Parameter value incorrect in passing
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01023942
Message ID:
01023942
Views:
54
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
Neil Lewis
IT R&D Manager
Velmore Ltd
Next
Reply
Map
View

Click here to load this message in the networking platform