Hi Adrian,
>What's the best technique for getting exclusive USE on tables in a multi-user environment? I can't seem to trap Error no. 3 ("File in use" after a USE EXCLU call) in a form. Is it untrappable?
It should be trappable, any way, try this:
lcError = on('error')
on error *
use (MyTable) excl in 0
if used(juststem(MyTable))
else
endif
on error &lnError
You might want to create a generic resuable function or method out of this.