Hi John, You get the locking error, because your project contains a DBC (database) that is opened elsewhere, either on your machine or by an user of your application. VFP tries to recompile all stored procedures. To locate the faulty lines, enter
OPEN DATABASE c:\pontotoc\pontotoc.dbc SET DATABASE TO pontotoc MODIFY PROCEDURE Probably the line with ENDIF contains some additional characters that have been inserted accidentally. -- Christof _______________________________________________ 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 ** 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.