>Hilmar
>
>I would to try and pass another parameter but I cannot get it to work:
>
>LPARAMETERS cArtikey, cSeamslippa
>! /n U:\questpdm\fabsum.exe cArtikey cSeamslippa
>
>
>Any ideas?
>
>Many thanks
The general principle is to use macro substitution to replace a variable with its contents, either for an entire command, or for parts of it.
Entire command:
lcCommand = "! /n U:\questpdm\fabsum.exe " + cArtikey + " " + cSeamslippa
&lcCommand
Parts of the command:
! /n U:\questpdm\fabsum.exe &cArtikey &cSeamslippa
Note that I used the "&" twice, once for each variable.
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)