'CALL (MYLIB/MYCLPGM)PARM(ACCNT)' is a literal value.
What you need to do is pass the value of the variable.
DoCmd('call mylib/myclpg parm(' + %trimr(accnt) + ')')
--- ignatiuskm <[EMAIL PROTECTED]> wrote:
> I am calling the DoCmd procedure with the following
> code
>
> C callp DoCmd('CALL (MYLIB/MYCLPGM)
> PARM(ACCNT)')
>
> The ACCNT variable have a value in the CGI pgm. But
> when MYLIB/MYCLPGM
> is called, the value is not getting passed to the CL
> pgm. The CL pgm
> starts with PGM PARM(&ACCNT). Please help.
>
> Thanks
> Mathew.
>
>
>
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Easy400Group/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/