Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters form one program to another.
Message
From
07/04/2005 09:46:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01002245
Message ID:
01002263
Views:
25
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform