>>mnTotFields = FCOUNT("students")
>* SELECT students && put it outside of loop - speed up
>* Finally, we don't need it at all
>FOR mnHitPoint=1 to mnTotFields &&Check Each Field
> fieldname = field(mnHitPoint,"students")
> fvalue = evaluate("students."+fieldname)
> if vartype(fvalue) == 'G'
> loop && skip general fields - not comparable
> endif
> foldvalue = OLDVAL(fieldname)
> IF !(IsNull(fvalue) AND !IsNull(foldvalue) OR ;
> !IsNull(fvalue) and IsNull(foldvalue) ) AND ;
> fvalue == foldvalue &&This user hasn't changed it
> ....
> endif
>endfor
>
>