Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I Have a one qvs file,i am using that qvs file in diff apps like app1,app2,app3,
in qvs file diff fields are there like :
load
a,
b,
c,
d,
e
from sample;
my requirement is i want load 'd' field in particular app1 only,remaining apps i don't want load 'd' field .
how to achive this?
regards,
kd
your qvs
if (vmyapp=1) then
TABLE1:
load d
from sample;
if (vmyapp<>1) then
TABLE1:
load a,
b,
c,
e
from sample;
in your app1:
let vmyapp = 1
include ...qvs
in your other apps
let vmyapp=2
include ....qvs
Hi koti,
you can use the DocumentName() to get the app's name and make that line in the LOAD dependent on the output of that function.
HTH
in app1 you define
load d
from yourfile.qvd
in other apps
load
a,
b,
c,
e
from yourfile.qvd
? or do i understand wrong?
sorry, my mistake
you mean using include?
why not use a variable to differentiate?
if (vapp = 1)
load
d
from ..
if (vapp=2)
load
a,
b,
c
e
from ..
Hi Rudolf,
Yes,Correct
Can you please share me the sample app.
can you send me sample app..
your qvs
if (vmyapp=1) then
TABLE1:
load d
from sample;
if (vmyapp<>1) then
TABLE1:
load a,
b,
c,
e
from sample;
in your app1:
let vmyapp = 1
include ...qvs
in your other apps
let vmyapp=2
include ....qvs