Report Generator Problem
- From: "Jason Tung" <jtung@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 19:20:04 +0000 (UTC)
Jaime Zamora <jaime.zamora@xxxxxxxxx> wrote in message
<8f4bdf7e-f05b-45e8-b70b-
9971c426b628@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
Hi All, I have to generate a report inside a function.When I run:
not exist in
report cartera;
I got the following error:
Beginning report
Error using ==> getContent at 27 Variable "inicial" does
workspacenot exist in
Error using ==> getContent at 27 Variable "final" does
workspacenot exist in
Error using ==> getContent at 27 Variable "compras" does
workspacenot exist in
Error using ==> getContent at 27 Variable "ventas" does
workspacecan't see
Converting report
The four variables are inside the workspace, but report
somehow. Any help will be great.
Thanks,
Jaime
That's because report generator only sees variables in the
base workspace. You have to declare the variable to be
global first. However, global variables need to be
declared both inside and outside the function. So use the
following code:
evalin('base','global var_name');
global var_name
var_name = magic(4);
.
- Prev by Date: Re: link all the code
- Next by Date: Re: Adjoint of the Radon transform
- Previous by thread: Re: link all the code
- Next by thread: Re: trying to produce phase characteristic from amplitude
- Index(es):
Relevant Pages
|