-
Topic
-
Hi, DMS is a great tool but sometime … grrrr
Take this piece of code
‘
lgn = 0
For Each Library in DocumentLibsRedim preserve TabLibID (lgn+1)
Redim preserve TabLibDesc (lgn+1)
Redim preserve TabLibName (lgn+1)on error resume next
TabLibID(lgn) = Library.LibraryID
TabLibDesc(lgn) = Library.description
TabLibName(lgn) = Library.Name
on error goto 0Call frmdocs.LBib.Items.Add (TabLibDesc(lgn))
lgn = lgn + 1Next
and used it on 2 libraries
In Console one, name of Lib A is “Toto” and NDS Name “GW_PO_Toto”
In Console one, name of lib B is “Novell” and NDS Name “GW_PO_Novell”If you put Lib A as your default library you receveive for Library.Name
Lib A => “GW_PO_Toto”
Lib B => “Novell”
If you change your default library to Lib B you receveive in Library.Name
Lib A => “Toto”
Lib B => “GW_PO_Novell”
Strange, the property seems to have diferent value function of default library
Perhaps logical if the “Default” was in Library object but it’s a property of …. Account objectIs there someone could explain this hidden purpose ??????????
(I’d try with 5 libs in 5 Po, same phenomena)
L.P. Irovetz
- You must be logged in to reply to this topic.