You could try it this way but it shouldn't make a
diffence. 

D command   S    256A
Eval command = 'Call mylib/myclpg parm(' + accnt + ')'
Callp DoCmd(command)

Or you might need apostrophe's around the parameter.

Eval command = 'Call mylib/myclpg parm(''' + accnt +
''')'

How is &ACCNT declare in the CL program. *CHAR *DEC,
whats the length.


--- Ignatius Kalapurakkel <[EMAIL PROTECTED]>
wrote:

> Hi Elbert,
>  
> I tried your code but sorry that didn't work.
> 
> Elbert Cook <[EMAIL PROTECTED]> wrote:
> '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 LINKS 
> 
> 
>     Visit your group "Easy400Group" on the web.
>   
>     To unsubscribe from this group, send an email
> to:
>  [EMAIL PROTECTED]
>   
>     Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service. 
> 
> 
> ---------------------------------
> 
> 
> 
>               
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in
> one click.  



                
__________________________________ 
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/
 


Reply via email to