>Hi Jeff.
>
>>Anyone know of a compare function or other utility that will return whether two tables with the same structure contain exactly the same data in each field?
>
>Someone (don't remember who) posted a simple way to do this in VFP 7 or later: use CURSORTOXML to convert each table to XML string, then do a simple IF lcXMLTable1 = lcXMLTable2. That would find any differences, including structure or content.
>
>Doug
Then why not just read the entire file with FileToStr()? This should work faster, and be compatible with VFP6.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)