* Grid custom method changesource lparameters cNewTableName with this .recordsource = cNewTableName .columncount=fcount(cNewTableName) for ix=1 to .columncount with .columns(ix) .controlsource = cNewTableName+"."+field(ix) endwith endfor endwith * If tables are quite same and want to keep controls as is * you should change the controlsource of column not control itself * unless bound = .f. *************************** * Then method changes like this **************************** lparameters cNewTableName with this .recordsource = "" for ix=1 to .columncount with .columns(ix) .controlsource = cNewTableName+"."+field(ix) endwith endfor .recordsource = cNewTableName endwithCetin