Hi!
Try following:
Evaluate("myfield")
Or better (shorter):
Eval("myfield")
"&" is not recognized by report. Eval() is a function and should work, as far as I know.
HTH.
>hi all,
>i don't want to pass my fields strike to report designer, so i've try to used
>macro "&" in report experession fields but it's doesn't work
>
>myprg.prg
> myfield='tabel.code'
>
>myreport expression
> (&myfield) : missing operand
>
>
>please help me ...
>
>
>thank's
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.