cycling through modules & execute

  • Thread starter Thread starter Peter Hafner
  • Start date Start date
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
 
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????
 
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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top