I have got a strange response in this simple code

1 GW System with 2 PO and 2 Libraries LIB1 and LIB2

LIB1 is my default in GW Client
You run this code

> Set MyAccount = GroupWise.Account
> Set LibraryCh = MyAccount.DefaultDocumentLibrary
> msgbox LibraryCh.name

And you obtain LIB1 name, OK

without closed GW Client, juste change the default library to LIB2

In GW 8.0 (eg 7.0), you could see in search buton what the default is the new one

Run the code and you obtain.... LIB1 name

Closed you GW Client, restart it
Run the code and you obtain.... LIB2 name

Strange isn't it ?

LP Irovetz
Arcane GroupWare