if type('this.ghptab1') <> 'O' set classlib to ptlib additive this.addObject("ghptab1","ghptab") this.ghptab1.visible = .t. endif this.refresh() SELECT("vCustomer") thisform.label2.caption = ' 'Please tell me this works. I couldn't test, there was too muc stuff going on in your form for me to run it.