When entering a form, the user has to select which database they will be working within. I have put the selector screen (modal) in the init method of the DE. Then, I do a number of AddObjects to give the proper properties to the cursors. The last line of the Init method is This.OpenTables(). Only the last table that I have AddObject'd is actually instantiated. When I look in the DE through the debugger, all of the cursors are defined - seemingly correctly.
I do have the DE property AutoOpenTables set to .F.
I have to call the modal select form in the init method of the DE because it will not populate properly if I do it in the BeforeOpenTables method.
I'm using Visual MaxFrame as my framework.
Any Ideas?
Dick Harrold
=========================================
Dick Harrold [DickHarrold@Yahoo.com]