G
Guest
Hi,
I have a form (e.g. formA) which has two buttons - ViewPO and EditPO.
Now Clicking of ViewPO opens up another form (e.g. formB). Similarly,
clicking on EditPO opens up the same formB
Now on formB I have to write a if statement
This if statement is based on the previous button click.
In other words:
If button ViewPO has been clicked then
Do This
If button ViewEditPO has been clicked then
Do That
Else
...
End if
Is there any way to put this concept in code. I am specially looking for if
a button click event can be the basis of a if statement. Thanks in advance.
I have a form (e.g. formA) which has two buttons - ViewPO and EditPO.
Now Clicking of ViewPO opens up another form (e.g. formB). Similarly,
clicking on EditPO opens up the same formB
Now on formB I have to write a if statement
This if statement is based on the previous button click.
In other words:
If button ViewPO has been clicked then
Do This
If button ViewEditPO has been clicked then
Do That
Else
...
End if
Is there any way to put this concept in code. I am specially looking for if
a button click event can be the basis of a if statement. Thanks in advance.