Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Moving code from de.beforeopentables to form.load
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement