cycling through modules & execute

P

Peter Hafner

Hello,

I want to cycle through all modules in my db and automatically execute
them, without knowing the name.

Any idea how to do this?

Thanks,

Peter
 
S

SJ

I'm not sure about that... I thought Modules were database objects that
"contained" code. You don't execute them. You could execute the
procedures/functions in them tho. Is this what you mean????

Forms and reports will have modules also.... if they have code behind them

Armed with that, what is it you wanted to do????
 
P

Peter Hafner

SJ said:
I'm not sure about that... I thought Modules were database objects that
"contained" code. You don't execute them. You could execute the
procedures/functions in them tho. Is this what you mean????

Forms and reports will have modules also.... if they have code behind them

Armed with that, what is it you wanted to do????
Yes, that's what I want to do. Execute the procedures in them.

Peter
 
D

Douglas J. Steele

The concept of looping through all of the functions or subroutines in your
modules and executing them sequentially really doesn't make sense. Often a
function or subroutine is there only to be used by another routine: it can't
really be used on its own.

The normal approach would be to create a routine that calls each of the
appropriate routines in the correct order.
 
Top