I don't know about earlier versions, but for certain in 7.6 ever since the form and code is loaded into memory in one go.
With the form so loaded, the umbilicle cord can be cut without a problem.

If you think about it, while you are disconnected, another user could delete your form from the db and your instance of the form would still work until you exited.


----- Original Message ----- From: <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, September 21, 2010 5:06 PM
Subject: [RBASE-L] - So you can disconnect while in a bound form?


I was just now checking out something that another consultant did on a
windows 7.6 form, and I'm frankly shocked! I always assumed that if you tried
to do something like disconnect / connect / reload while you are still
sitting in a form that is tied to a table, that you would get some kind of error
like "invalid eep command" or something like that.

But this guy has a group bar menu option for "reload the database" that
does a disconnect, connects in single-user mode, does an autocheck, does a
reload... all while still technically in that main menu form that is bound to a
table!   When done the program reconnects in multi-on mode, and does a
"return" back to the form and all is well.

I really thought you could NOT do that, but apparently you can!  He says
the client's been using that for database maintenance for years! For bound
main menus, I always exited the main menu form, did the maintenance using
large, different-colored pause boxes for status updates, then reconnect and come back into the main menu. Does anyone see a downside to doing it the way
he did?   Does anyone else do this while still inside a form?

BTW:  yes I know that an external form file would take care of all these
issues...

Karen



Reply via email to