Bruce Bruen
bbruen at unwired.com.au
Tue Apr 3 07:16:32 CDT 2007
On Tuesday 03 April 2007 21:25, Sad Der wrote: > I need this because we need to set/check the > databaseconnection from outside the database e.g. an > ini file. .. > > --- Gustav Brock <Gustav at cactus.dk> wrote: > > Hi Sander > > > > I don't think you can cut the connection belonging > > to CurrentProject ... that would be like kicking > > your own feet away. > > I guess you need to create a new Connection object > > and then use that for whatever your purpose is. > > .. Sander, You CANNOT do this, CurrentProject is just, sort of like [Me]. set Me = SomeOneElse ... ??? I know that CurrentProject is just about a great way to shortcut the local active connection, but it has it's pitfall's, and this is it! BTW: You can't even do this elsewhere. Even in a true OO language you can't ( this <= this.base; } or { this <= cMyAccount(YourAccount); } -- regards Bruce