Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Shared Open in DBC Event?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00741206
Message ID:
00741335
Views:
16
Hi,

Turn off DBCEVENTS to prevent recursion:
PROCEDURE dbc_AfterOpenTable(cTableName)
        =DBSETPROP(<database>,'dastabase',DBCEVENTS,.F.)
	Select (cTableName)
	Use
	Select 0
	USE (cTableName) In 0 Shared
       =DBSETPROP(<database>,'dastabase',DBCEVENTS,.T.)
ENDPROC
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform