>Can anyone give me example code on doing LRC on a string?
What are you trying to do?
http://www.modicon.com/techpubs/crc7.htmlYou may need to look into VFP bitwise functions.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up