Hi Elbert,
&ACCNT is declared as *CHAR in the CL pgm.
Elbert Cook <[EMAIL PROTECTED]> wrote:
Elbert Cook <[EMAIL PROTECTED]> wrote:
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! FareChase - Search multiple travel sites in one click.
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.
