Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 4 and 5 Forum

Notes/Domino 4 and 5 Forum

developerWorks

  


Path / File Access Error - Lotusscript
Kevin Franck 30.Nov.99 10:50 AM a Web browser
- Category - Release 4

I currently get the error message "Path / File Access Error" when two of our clients run a segment of lotus script code from a navigator hotspot within their notes client. We have tried new replicas and we can not recreate the error on any other machines besides the two. To make things more difficult, both of the desktop machines are in remote locations. I have looked in both Notes.net and Lotus/support and have not found much information regarding this error message as it relates to the "open" statement in Lotus Script. Any help you can provide will be greatly appreciated.

Machine Details:

Machine One -
Computer - E-Machine 400 mhz
Operating system - W98
Chip - Intel Celeron
RAM - 32 MG


Machine Two -
Computer - Digilink (Built for them)
Operating System - W98
Chip - P3
RAM - 128 MG


The following is the lotus script code that causes the error. The specific line that errors is -

Open "DLQ.SFN" For Output As 1


Here is the complete script:

Sub Click(Source As Navigator)

Dim session As New Notessession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim dealerdb As String
Dim blockitem As Variant
Dim blockstring As String
Dim Block (1 To 40, 1 To 40) As String
Dim blockarrayposition As Integer
Dim Row As Integer
Dim Column As Integer


Set db = session.CurrentDatabase
If( Not db.IsOpen ) Then
errorcode = 2
errormsg$ = "Cannot open the Notes database specified in the DealerDatabase environment variables - contact Lester"
Messagebox( errormsg$ )
Exit Sub
End If

' Get View
If( errorcode = 0 ) Then
Set view = db.GetView( "(Replication Log)" )
If( view Is Nothing ) Then
errorcode = 3
errormsg$ = "Could Not Find a View in Replication Log - Contact Lester for Assistance"
Messagebox( errormsg$ )
Exit Sub
End If
End If


' Get doc (Document object)
If( errorcode = 0 ) Then
Set doc = view.GetFirstDocument
If( doc Is Nothing ) Then
errorcode = 4
errormsg$ = "Could Not Find First Document in Replication Log View - Contact Lester for Assistance"
Messagebox( errormsg$ )
Exit Sub
End If
End If


If doc.HasItem( "BLOCK" ) Then
Set BlockItem = doc.GetFirstItem( "BLOCK" )
Blockstring = BlockItem.Text
Else
Blockstring = ""
End If



'Delete Old Copy of File:
' Kill "//DATA//DLQ.SFN"

'Output Block to File
Open "DLQ.SFN" For Output As 1
Width #1,40

blockarrayposition = 1
For row = 1 To 40
outString = Mid$ ( blockstring , blockarrayposition, 40)
Print #1,outString
blockarrayposition = blockarrayposition + 40
Next
Close #1
Messagebox "Lester Quote Authorization Code has been Successfully Installed", 0, "Authorization Installed"

End Sub




Path / File Access Error - Lotusscr... (Kevin Franck 30.Nov.99)
. . RE: Path / File Access Error - Lotu... (Steve Held 30.Nov.99)
. . RE: Path / File Access Error - Lotu... (Shekhar Mahajan... 30.Nov.99)






  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search


 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

  Lotus Support
Lotus Support
Product support pages index
Search knowledge base (Technotes)
Search support downloads
Lotus Support RSS

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow