Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Table.SessionName
Fri, Jul 14 2006 10:29 AMPermanent Link

"C. Sunguray [Adana]"
I'm using a sesion named MySesion. MyDatabase.SessionName is
MySession.SessionName. MyTable.DatabasName is MyDatabase.DatabaseName. Why i
set MyTable.SessionName to MyDatabase.SessionName. Why MyTable.SessionName
could not use MyDatabase.SessionName automatically.

C. Sunguray



Fri, Jul 14 2006 2:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< I'm using a sesion named MySesion. MyDatabase.SessionName is
MySession.SessionName. MyTable.DatabasName is MyDatabase.DatabaseName. Why i
set MyTable.SessionName to MyDatabase.SessionName. Why MyTable.SessionName
could not use MyDatabase.SessionName automatically. >>

Here's an illustration:

MyTable.SessionName is blank (default Session)
MyTable.DatabaseName is blank

If you set MyTable.DatabaseName at this point to a database that is not in
the default session, then DBISAM cannot automatically set the SessionName
because it effectively can't see the database name.  Also, it cannot assume
at this point that you don't intend to change the MyTable.SessionName
property also, so it just does nothing.  It resolves everything when you
activate the MyTable component, however, and raises an exception if
necessary.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image