Malcolm wrote: "Something in your code is moving the record pointer in the table being scanned. Sounds like a failed seek that leaves table in an eof() position."
And Lew wrote: "Filtered index expression? (or other filter) Reindex everything on the new server." Thanks for the quick responses on a Sunday morning! In my code I added the strtofile commands to write out each line of code executed. Plus, I added IF EOF('mycursor') then write a line which has not happened when running the EXE. No filters and reindexing everything is not possible right now. What I am seeing is if I step through the code it works and when it is in the EXE it failing and quitting. There are other commands after this scan to execute that do not in the EXE. Very strange. David L. Crooks _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.