Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters form one program to another.
Message
De
07/04/2005 09:46:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01002245
Message ID:
01002263
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>Thankyou hilmar. This is what I now have. When somebody saves the reocrd in my application my PRG file is invoked which has the following:
>
>Before the program runs the value of cArtikey='F*0001'
>
>PROGRAM1
>
>LPARAMETERS cArtikey
>! /n U:\questpdm\fabsum.exe "cArtikey"
>
To replace the variable cArtikey with its value, I think the only option is macro substitution, either like this:
! /n U:\questpdm\fabsum.exe &cArtikey
or like this:
RunCmd = "! /n U:\questpdm\fabsum.exe " + cArtikey
&RunCmd
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform