>I am moving the code that points my dataenvironment's cursors to the proper directory from the dataenvironments beforeopentables event to the forms (actually the class's) load event. The code is
>
>thisform.SetAll("Database",gcAppPath+"\database\patdb.dbc","Cursor")
>
>I am getting the error "property setting will not take effect until the data environment is loaded". I assume is is because the cursors are already open before the load event. How do I delay the opening opening of the cursors and then open them manually?
Evan,
Call Thsiform.dataenvironemnt.CloseTables()
then set your properties and then call the Opentables method
That is the safe way of doing it. Depending on the developer to set autoopentables to .F. in the de is not as safe.