General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Randy.
>I'm would like to be able to control whether or not the tables in my dataenvironment are read only or not at form startup. I know I can't do this by passing parameters to the form since the dataenvironment is loaded before the Init of the form.
Try setting DataEnvironment.AutoOpenTables to .F. so it doesn't automatically open the tables. Have Init accept a parameter (like tlReadOnly), go through the Cursor objects in This.DataEnvironment and set their ReadOnly properties appropriately. Finally, call This.DataEnvironment.OpenTables to open the tables.
Doug
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only