StephHansen
Programmer
Thought I solved this earlier but I guess not.
I have a tabbed table with 11 tabs. Because of the amount of data on it I have an autosave feature enabled (see below). When someone tabs through the fields, eventually, they get the red box saying that an uncorrectable error has been reached and Notes crashes on their computer, forcing them to reboot.
Has anyone encountered this before? Is this an application error or a system error? How do I stop this? Thanks so much.
AutoSave:
(Declarations)-
Dim elapsedTime As Integer
Dim elapsedTimer As NotesTimer
Postopen-
Sub Postopen(Source As Notesuidocument)
Set elapsedTimer = New NotesTimer(1, _
"Elapsed time since opening document"
elapsedTime = 0
On Event Alarm From elapsedTimer Call elapsedTimerHandler
End Sub
elapsedTimerHandler-
Sub elapsedTimerHandler(Source As NotesTimer)
elapsedTime = elapsedTime + 1
Print elapsedTime
If elapsedTime = 30 Then 'saves the document every 30 seconds
Print "Saving document... "
elapsedTime = 0
Dim Workspace As New NotesUIWorkspace
Dim UIDoc As NotesUIDocument
Set UIDoc = Workspace.CurrentDocument
Call UIDoc.Save
End If
End Sub Stephanie Nicholas
Software Engineer
NetSetGo, Inc.
I have a tabbed table with 11 tabs. Because of the amount of data on it I have an autosave feature enabled (see below). When someone tabs through the fields, eventually, they get the red box saying that an uncorrectable error has been reached and Notes crashes on their computer, forcing them to reboot.
Has anyone encountered this before? Is this an application error or a system error? How do I stop this? Thanks so much.
AutoSave:
(Declarations)-
Dim elapsedTime As Integer
Dim elapsedTimer As NotesTimer
Postopen-
Sub Postopen(Source As Notesuidocument)
Set elapsedTimer = New NotesTimer(1, _
"Elapsed time since opening document"
elapsedTime = 0
On Event Alarm From elapsedTimer Call elapsedTimerHandler
End Sub
elapsedTimerHandler-
Sub elapsedTimerHandler(Source As NotesTimer)
elapsedTime = elapsedTime + 1
Print elapsedTime
If elapsedTime = 30 Then 'saves the document every 30 seconds
Print "Saving document... "
elapsedTime = 0
Dim Workspace As New NotesUIWorkspace
Dim UIDoc As NotesUIDocument
Set UIDoc = Workspace.CurrentDocument
Call UIDoc.Save
End If
End Sub Stephanie Nicholas
Software Engineer
NetSetGo, Inc.