>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)