Select Case Matriz(i - 1).Id
Case "mig_buscaajucob"
bRes = mig_buscaajucob()
Case "rptPaseMon1"
bRes = rptPaseMon1()
Case "aleIncClearing"
bRes = aleIncClearing()
end select....
Necesito hacerlo mas generico para no tener que agregar un case cada vez que se agrega una funcion,
yo hice lo siguiente:
Funcion = Matriz(i - 1).bol
Select Case Matriz(i - 1).Id
Case "Funcion"
bRes = Funcion
End Select
y no me tira error pero tampoco ejecuta el llamado a la funcion
las funciones estan declaradas como boolean como por ejemplo :
Private Function InicBatch() As Boolean
InicBatch = True
End Function
En que estoy fallando amigos?
gracias y besos, Lau.
