Hi there,
currently, I am writing one column of a listbox selection into an array:
Now I would like to build a SELECT string where the result is shown for the corresponding listbox selection (could be 1 ID, or more), meaning: SELECT XY where InvoiceID = ARRAY(). How do I do this??
Thanks for help!!
Frank
currently, I am writing one column of a listbox selection into an array:
Code:
Zähler = Forms![View Unpaid Invoices]!Liste2.ItemsSelected.Count
ReDim Preserve aVariable(Zähler)
For Each element In Forms![View Unpaid Invoices]!Liste2.ItemsSelected
aVariable(count1) = Forms![View Unpaid Invoices]!Liste2.Column(0, element)
count1 = count1 + 1
Next element

Frank