checksum = 0 For cpos = 1 to len(stringvalue) checksum = checsum + ASC(substr(stringvalue,cpos,1)) Next Replace table.field with stringvalue, table.fieldCRC with checksum