Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter value incorrect in passing
Message
De
16/06/2005 10:56:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
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:
01023977
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform