hi, all
I now need to create the tabs which is based on my data table(i named as dt2). The names of the tabs is based on the dt2, meant here: if dt2 has 10 products name, so in my interface i also need have 10 tabs which is based on the product names in dt2.
One of my requirement is i cannot hardcode the coding, because in the future, maybe i need to add in the name of products in dt2, so the tabs will auto have same with the number of products name in dt2.
So, how to pull the data from dt2 and make it as tabs?
Actually i don't know how to write the code for the task that i need complete, i have try many times, but its keep runs out errors.
Thanks.
dt2

dt2 = Data Table(
"Data Table........") << Summary(
Group( :F D ),
Freq( "None" ),
Weight( "None" ),
invisible
);
//Create Tabs based on the F D
VariabilityWindow = New Window("Variability Chart",tb = Tab Box() );
For(i =1, i <=nTabs(dt2 << get row names()), i++,
tb << insert(
dt2: F D[i] || Char(i),
V list Box(
Button Box("Variability Chart #" || Char(i)),
)
)
);