Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Import holidays problem / instance document???

7 views
Skip to first unread message

Jens Wagner

unread,
Jan 16, 2002, 7:44:51 AM1/16/02
to
A user can not import the holidays automatically (LN 5.0.8). The client
says "Notes error: Document has been deleted".
What I find now is that a lot of anniversaries are in his calendar, e.g.
multiple times the same Entry with same date and time. And I see them
only in the MEETINGS not in the CALENDAR view! When I try to delete this
entries I get the message "You must select an instance document to
perform these actions". I tried compact -D, but that didn't help. So I
am a admin, not a programmer. Any suggestions what to do?

TIA
Jens Wagner

W.Flamme

unread,
Jan 22, 2002, 5:15:52 PM1/22/02
to
"Jens Wagner" <jens....@seiko-instruments.nospam.de>
schrieb im Newsbeitrag
news:3C4575C3...@seiko-instruments.nospam.de...

Already solved?

--

Wolfgang Flamme
wfl...@mainz-online.de

"I love deadlines. I love the whooshing sound they make as
they fly by."
Douglas Adams

Jens Wagner

unread,
Jan 23, 2002, 6:01:28 AM1/23/02
to

W.Flamme wrote:


>
> Already solved?
>

No, the problem is still remaining...

Jens Wagner

W.Flamme

unread,
Jan 23, 2002, 8:39:51 AM1/23/02
to
"Jens Wagner" <jens....@seiko-instruments.nospam.de>
schrieb im Newsbeitrag
news:3C4E9808...@seiko-instruments.nospam.de...

> > Already solved?
> No, the problem is still remaining...

Calendar view display criteria:
SELECT @IsAvailable(CalendarDateTime)

Meeting view display criteria:
SELECT Form = "Appointment":"Notice" | @AllDescendants

So appointment documents have been created but there is no
item 'CalendarDateTime' in them for reasons I don't know. You
might do a cross check by having a look at the properties of
such a document.

Instance document problem:
This is caused by the QueryDocumentDelete event in the
Database Script preventing inconsistencies eg with response
structures. The error message looks like there are response
documents missing their parent. The easiest thing to gain full
control over deletions is to comment out the code temporarily
(Domino Designer required and - as usual - have a backup
available):

Sub Querydocumentdelete(Source As Notesuidatabase, Continue As
Variant)
%Rem
'former code goes here
%End Rem
End Sub

Then you should be able to delete all appointments.
Be sure not to leave any orphan appointment response documents
in there (the ones with Form="Appointment" and an item named
$REF in them). Be sure every left over appointment has an item
Repeats="", indicating it's single instance only and it's not
'expecting' to have any responses. You might create temporary
views to check for that.
And just don't forget to undo your changes in the
QueryDocumentDelete event.

Brett Tirrell

unread,
Jan 23, 2002, 11:37:13 AM1/23/02
to
I had this same problem and kind of stumbled on a solution the other
day. If I double-clicked on the document, then hit the Delete key, I
could delete the document. Please give it a try, hopefully it will
work for you!

Brett

Jens Wagner <jens....@seiko-instruments.nospam.de> wrote in message news:<3C4E9808...@seiko-instruments.nospam.de>...

0 new messages