2013 Jan 18 2:31 PM
Hi,
In my smartform, i need to display a particular window on the leftmost corner of my page based on a condition.
If my condition is true then window A should be displayed whereas if its false the window A should not be displayed instead window B should be displayed in the same place .
Pls lemme know how can i achieve this.
Thanks ,
Faiz
2013 Jan 19 8:03 AM
Hi Faiz,
You can acheive your requirement. Try working below steps.
1. In the form painter, Overlap window A and window B.
2. Declare a global variable to work as a flag.
3. Create a Logic in Program lines Using IF condition and based on Flag output, Display the data.
like Flag 1: Display output in window A ( window B is blank )
Flag 2: Display output in window B ( window A is blank )
Please revert in case of issues. Reward points if it helps.
Thanks
Vivek
Hi Faiz,
You can acheive your requirement. Try working below steps.
1. In the form painter, Overlap window A and window B.
2. Declare a global variable to work as a flag.
3. Create a Logic in Program lines Using IF condition and based on Flag output, Display the data.
like Flag 1: Display output in window A ( window B is blank )
Flag 2: Display output in window B ( window A is blank )
Please revert in case of issues. Reward points if it helps.
Thanks
Vivek
2013 Jan 18 2:58 PM
Hi Fiaz,
Declare a global variable and set this variable with X or space depending on when you want to enable first window(variable = 'x') and when you want second window(variable = ' '). Write this logic in code initialization.
Now use this variable in first and second windows conditions tab to enable and disable.
In first window, in conditions tab write
variable = 'X'
in second window , in conditions tab write
variable = ' ' .
Reward if helpful.
Regards,
Mahidhar.
2013 Jan 19 8:03 AM
Hi Faiz,
You can acheive your requirement. Try working below steps.
1. In the form painter, Overlap window A and window B.
2. Declare a global variable to work as a flag.
3. Create a Logic in Program lines Using IF condition and based on Flag output, Display the data.
like Flag 1: Display output in window A ( window B is blank )
Flag 2: Display output in window B ( window A is blank )
Please revert in case of issues. Reward points if it helps.
Thanks
Vivek
2013 Jan 19 9:00 AM
Hi Faiz,
You Just overlap window A and Window B And write the condition in the Window Condition Tab What ever you want it ll solve your Problem.
Thanks
Mani
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |