Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter value incorrect in passing
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Parameter value incorrect in passing
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01023942
Message ID:
01023942
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform