>The problem is there are a couple hundered lines of code with each line taking .0008 secs. Not sure what else I can do except try to change the logic to eliminate more code.
Sounds like you've hit one of VFP's problems, interpreted code. Executing loops that contain large blocks of code can be slow. Assuming the bulk of the processing time is executing this loop then it sounds like you're on the right path. Profile code and optimize as much a possible. After that you're left with faster machine and/or parallel processing with multiple machines. Another option may be to move the bulk of this code to a true compiled language if the logic does not require VFP’s data centric language.
Michael McLain