Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataEnvironment Methods?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00020842
Message ID:
00021105
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform