Domino 9 und frühere Versionen > ND6: Entwicklung

NotesDocumentCollection "kopieren"

<< < (2/5) > >>

Onkel Domino:
Zur Not muss ich mal im Zentrum der Gruppenarbeitskompetenzen nachfragen  ;)

Glombi:
Ein Competence Center in der Hinterhand zu haben, ist immer gut  ;D

Andreas

Onkel Domino:
Hey Andreas,

ich muss nochmal in diesem Competence Center nerven:

---schnipp---
Function CopyCollection(Byval col As NotesDocumentCollection) As NotesDocumentCollection
   Set CopyCollection = col
End Function
---schnipp---

Wirft eine Fehlermeldung :-(

Illegal pass by value: COL or missing CALL keyword

Ist 'ByVal' denn überhaupt verträglich mit einer NDC? Sieht nicht so rosig aus...

Glombi:
Du musst Variant verwenden:

  Function CopyCollection(Byval col As Variant) As NotesDocumentCollection

sonst meckert der Interpretor zurecht.

Andreas

Onkel Domino:
Hurra, er hat's geschluckt.

Vielen Dank!

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln