it works... tanks a lot you are the man, but i have another Q if you dont mind?
i need to save the data of this table into word but whenever i do another calculation and save it to another table when saving it delets the first table and saves me only the last one (i can still see the two tables in the window list)
but i can save only the last one what do you think i need to do tanks a lot.
this is the code:
SSpecummery_window = New Window(DataTableSpecMsg,
H List Box(
Text Box(" "),
Button Box("Save to Word",
Spec_box << Save MSWord("", Native);
),
Text Box( "\!t" ),
Button Box( "Close this Window", SSpecummery_window << CloseWindow )
),
Page Break Box(),
RequiermetMSG=Text Box( "Required: Sigma Q = 6 , Cpk > 1.33 " ),
Spec_box = TableBox(
StringColBox("Parameters", Parameters_list),
StringColBox("Normal Dist",NormalDist_list),
NumberColBox("% Beyond Limits", Limits_list,set format(10,2)),
NumberColBox("Mean", P_Mean_list,set format(10,2)),
NumberColBox("Std", Std_list,set format(10,2)),
NumberColBox("Cp", Cp_list,set format(10,2)),
NumberColBox("Cpk", Cpk_list,set format(10,2)),
NumberColBox("Sigma Quality", Sigma_list,set format(10,2)),
NumberColBox("Lower TI", LOWERTI_list,set format(10,2)),
NumberColBox("Upper TI", UPPERTI_list,set format(10,2)),
),
Text Box("\!N"),
);
close(specs)//closing the dt where i get the data lists
);