So far this is returning the correct result. I am doing a conversion from VFP tables to SQLServer tables. I have now done 3 tables with thousands of records and have yet to encounter a problem.
Again, thank you all for your help.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!