I have a tab control with four tabs- each tab has a different filtered portal displaying results front the same table depending on the filter.
I want to creat a script that will add a new record to this portal and subsequently set field to enable allocation of records to the correct tab.
Is there a way of using an IF/Case to depending on which tab is being viewed at the time?
Eg if I am on the 'customers' tab i want to :
if tab = "Trade"
set field Clients::Type = "Trade"
Not sure of the correct command!