Need help on directory of server

lotus Notes r5

I need to go to a specific sub directory on a server.


Dim uiws As New NotesUIWorkspace
	Dim uidoc As NotesUIDocument
	
	Set uidoc = uiws.CurrentDocument
	
	Dim sess As New NotesSession
	Dim oDb As NotesDatabase
	
	Dim doc As NotesDocument
	
	Set oDb = sess.GetDatabase("WWGCHILN6","Stockroom Services\GSS_Pipe.nsf",True)
///  Need  WWGCHILN6    but going to a sub directory  called  "Fastener"  Under WWGCHILN6
	If oDb Is Nothing Then 
		Msgbox "Cannot open database"
		Exit Sub

Open in new window

LVL 3
FordraidersAsked:
Who is Participating?
 
SysExpertCommented:

Sjef, maybe it is
 
Set oDb = sess.GetDatabase("WWGCHILN6","FASTENER\STOCKROOM SERVICES\GSS_Pipe.nsf",True)

it looks like your path is slightly wrong.
0
 
SysExpertCommented:
Are you talking about a folder inside the database, or in a separate directory on the server.

Please be more specific.



I hope this helps !
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
FordraidersAuthor Commented:
when I go to open the database in LN ..
it gives me

WWGCHILN6
I want to go to WWGCHILN6\FASTENER\STOCKROOM SERVICES\GSS_Pipe.nsf
0
 
Sjef BosmanGroupware ConsultantCommented:
Then try

Set oDb = sess.GetDatabase("WWGCHILN6","Stockroom Services/Fastener/GSS_Pipe.nsf",True)
0
 
FordraidersAuthor Commented:
Thanks...seemed simple...just wanted to make sure...
0
 
Sjef BosmanGroupware ConsultantCommented:
Oh blimey... Me clumsy... :-))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.