>I have a form which use the data environment and AutoOpen is .T. and the form has data bound controls. If another users opens a table(s) contained in the DE of my form exclusively my form will not function. The problem is how do I trap this condition. I have reviewed the error event within the DE without success. I need a quick fix since I have many forms setup with the DE and AutoOpen=.T.. Please point me in the right direction if there is one. tia steve
on error lErroflag=.t.
do form ... && your form called here
on error
if lErrorflag=.t.
**** your message (you can use AERROR() here)
endif
Edward Pikman
Independent Consultant