Domino 9 und frühere Versionen > ND6: Entwicklung

Dokument 'über Datenbank' öffnen erzeugt Illegal Function Call

<< < (2/3) > >>

DerAndre:
Ok, weitergesucht...

Fehler kommt jetzt dauerhaft.

Was mir aufgefallen ist:

'über Datenbank' Dokument wird erst auf der Arbeitsbereichsseite dargestellt
dann geht die Datenbank auf, danach die über Seite und dann ist alles Ok, bis auf die Fehlermeldung...

DerAndre:
Habe jetzt mal den 7.0.2er Client genötigt.

Auch da habe ich das Problem.

Scheint wohl nicht wirklich was mit der Notesversion zu tun zu haben, eher mit dem was wir hier veranstalten...
Merkwürdig ist es trotzdem

ata:
... die Meldung weist auf eine Benutzerdefinierte Meldung hin - Irgendwo im Postopen wird eine Funktion verwendet, die dort nicht declariert ist, oder nicht zur Verfügung steht...

Toni

DerAndre:
Hi Toni.

Die Meldung ist aus dem Errorhandle.
Die Funktion die nicht klappt ist Activateapp und Notesbestand

ActivateApp statement 

Makes a program window the active window.
Syntax
ActivateApp windowName
AppActivate is acceptable in place of ActivateApp.
Elements
windowName
A string expression designating the program window to activate.
Usage
windowName is not case sensitive. It must exactly match the leftmost characters of the program title that appears in the program window title bar. For example, if the program title of a running program window is "Lotus Notes - Workspace," then a windowName value of "Lotus Notes" will activate that window. If more than one program title matches windowName, LotusScript will choose one of the program windows.
ActivateApp can activate a minimized window, but cannot restore or maximize it. Use SendKeys to restore or maximize a window. Use Shell to start a program.


Was merkwürdig ist, das es nur passiert, wenn das Dokument 'über Datenbank' angezeigt werden soll, und dann auch nicht immer

ata:
... in solchen zweifelhaften fällen mache ich gerne eine Recompile auf die Datenbank, gehe aus Notes, lösche die Cache.ndk / bz. dsk und versuche es erneut. Ein Compact auf die Datenbank oder Fixup hat auch schon mal das eine oder andere Wunder bewirkt - da bleibt einem nur die Ruhe zu bewahren... ;)

Toni

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln