Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters form one program to another.
Message
 
 
À
07/04/2005 09:12:05
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:
01002259
Vues:
14
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"
Then contained within the compiled executable of FABSUM is a program called main which has the following in:

PROGRAM2
LPARAMETERS cArtikey
_screen.Visible=.f.

MessageBox(cArtikey)

DO FORM fabsum
READ events
On the form in my fabsum application I want to be able to display the contents of the parameter in a text field. But as a test I put in a messagebox command to see what the value of cArtikey is and it tells me that it is cArtikey. I basically want to pass the value in CArtikey which is grabbed as a parameter in Program 1 and pass to to use in my Fabsum application which is using program 2.

Sorry to be a pain but do you know where I am going wrong?

Many Thanks
Neil Lewis
IT R&D Manager
Velmore Ltd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform