On 4/23/2012 8:06 PM, Eurico Chagas Filho wrote: > You got a mess... > First never use FLock(). For the guys who just read, open the file as > readonly. > You should use a Cursor or a View to hold the data, then you replace in the > View or Cursor. > After that you use Begin Transaction Tableupdate ... END TRANSACTION or > ROLLBACK. > > If you need to use RLOCK(), use something like; > > DO WHILE NOT RLOCK() > INKEY(.02,"H") > ENDDO > > HTH, E.
Yeah but he's stuck with this legacy design, if I'm not mistaken, and can't switch to views or cursors--he is left with his direct table approach. :( -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] 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.

