* remove all but one of the alternate grid layouts do case case this.dedupetype = DDJC_TRNX && Weekly Transaction Processing this.removeobject('grdBldmstr2') && remove grid for parcel processing mode this.caption = this.caption + " - " + DDJD_TRNX case this.dedupetype = DDJC_PRCL && Parcel Processing this.removeobject('grdBldmstr') && remove grid for weekly transaction processing mode this.grdBldmstr2.name = 'grdBldmstr' && rename parcel processing to primary grid name this.caption = this.caption + " - " + DDJD_PRCL case this.dedupetype = DDJC_TRNM && TranMstr Maintenance this.caption = this.caption + " - " + DDJD_TRNM wait window 'DEDUMAIN.Init: "' + DDJC_TRNM + '" mode of de-duping is not yet supported.' return .f. && fail otherwise wait window 'DEDUMAIN.Init: unknown de-duping job type. Must be "' ; + DDJC_TRNX + '" or "' + DDJC_PRCL + '".' return .f. && fail endcaseIn other words, you can remove objects in Form's Init (not in Object Init). All object initializations are done before form's Init fires.