matrixindicator
IS-IT--Management
Hola,
I have an array nice working.
The elements number of the array can slightly change for next actions. I like to put the elements in a table and fill the array (the elements) with the values of the table.
1. Can this ? How to write this. To get the data with a recordset I suppose.
2. Can this slow down the performance. Now already with an array who feeds a function my query takes a long time to get, calculate the data (1.500.000 records).
I have an array nice working.
The elements number of the array can slightly change for next actions. I like to put the elements in a table and fill the array (the elements) with the values of the table.
1. Can this ? How to write this. To get the data with a recordset I suppose.
2. Can this slow down the performance. Now already with an array who feeds a function my query takes a long time to get, calculate the data (1.500.000 records).
Code:
Dim RightReeks() As Variant
RightReeks = Array("S A", "SA", "S.A.", "SRL", "S.A", "SA.")
For i = LBound(RightReeks) To UBound(RightReeks)
If (razon Like "* " & RightReeks(i)) Then
RazonFArray = CStr(RightReeks(i))
End If
Next i
i = Empty