if empty(this.cGridScript) local lcGridScript, lcReference, loColumn lcReference = sys(1272, this) lcReference = "_screen.ActiveForm." + substr(m.lcReference,at(".",m.lcReference)+1) set textmerge on set textmerge to memvar lcGridScript noshow && TEXTMERGE begins on the next line. \With <<m.lcReference>> for each loColumn in this.columns \.<<loColumn.name>>.ControlSource = "<<m.loColumn.ControlSource>>" \.<<loColumn.name>>.width = <<m.loColumn.width>> next \endwith set textmerge to set textmerge off this.cGridScript = m.lcGridScript endif