AnsweredAssumed Answered

tab scripting

Question asked by willrollo on May 22, 2012
Latest reply on May 22, 2012 by philmodjunk

Title

tab scripting

Post

Hi
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"
New record
set field Clients::Type = "Trade"

Not sure of the correct command!
Thank you

Outcomes