this.gridbase1.columncount = 0 && C5 error occurs in this lineI tried also
DO WHILE this.gridbase1.columncount>0 this.gridbase1.DeleteColumn &&& C5 error occurs in this line ENDDOUsing those commands in VFP 7 will cause C5 error sometimes. This works in VFP 5.