Yes, a simple If statement in your example would do that.
If you have more than that, then perhaps a Case statement, or even a table to identify which form. Less code then and easier to amend/update.
Yes, a simple If statement in your example would do that.
If you have more than that, then perhaps a Case statement, or even a table to identify which form. Less code then and easier to amend/update.