Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI All ,
I am having a 2 datamodels (Lets say D1 and D2) and I want to put 2 reload buttons for 2 datamodels (I,e D1Reload and D2 Reload).
If I click on D1Relaod then only one model need to be reloaded instead of all.
Please suggest.
Is this all within a single qvw ?
Instead of that, create two different application one for D1 and other for D2. Now you can schedule the reloads for both the application as per your need.
Use below script:
//D1 data load
if vLoad=1 then
LOAD * INLINE [
Prod
a
c
v
d
];
else
//D2 data load
LOAD * INLINE [
Emp
1
2
3
4
];
ENDIF
Step 1:
Crate one variable at GUI level lets say vLoad.
Crate 2 Buttons as i have created D1 Reload And D1 Reload
Actions for D1 reload
1)Set Variable vReload to 1
2)Reload
Actions for D2 reload
1)Set Variable vReload to 0
2)Reload
Result:
When i select D1 Reload output will be
When i Select D2 Reload output will be
Hope this will help you....