Autor Thema: Function mit Array als Rückgabewert  (Gelesen 2085 mal)

Offline buzi

  • Aktives Mitglied
  • ***
  • Beiträge: 171
Function mit Array als Rückgabewert
« am: 29.07.16 - 12:45:35 »
Hallo zusammen,

wie ist die Syntax einer Funktion, die als Rückgabewert ein Array hat?
 :-:

Code
Function Finden(tnDocument As NotesDocument) As Variant
Dim i As Integer
Dim tnBaDocuments(100) As Variant
......
tnBaDocuments(i) = respDoc.Unid
i=i+1
....
Finden= Trim(tnBaDocuments)
End Function

So stimmt es wohl nicht...

Offline buzi

  • Aktives Mitglied
  • ***
  • Beiträge: 171
Re: Function mit Array als Rückgabewert
« Antwort #1 am: 29.07.16 - 12:47:33 »
Sorry, habs selber gelöst.

Statt Trim muss es FullTrim heißen.....

 :o :o :o :o :o

 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz