> IF !FILE("&lcFile")

First of all, I'll write something much simplier :

IF !FILE(m.lcfile)

As you have done in the USE command

Second : if you are on VFP9, I'll write

SELECT 0
TRY
   USE (m.lcfile) EXCLUSIVE ALIAS tmpf && I'll avoid using 'tmp'
CATCH
  USE (m.lcfile) ALIAS tmpf
  = MESSAGEBOX("unable to open the table exclusively")
ENDTRY

just to see if the problem comes from the exclusive opening ...

Good luck !
The Foxil

_______________________________________________
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.

Reply via email to