Question : How to call more than one function in a procedure

I call several functions in a standard module that run insert and update queries.

I call these functions on various events in the application. They work fine. However I have problem running them in series.

Example:

Call Function_A
Call Function_B
Call Function_C

only runs the first function.

I have used msgBox to test to try an identify the blockage. The msgbox run just before endfunction in Function_A but it does not run in the first line of Function_B.

Is this normal, Is there a work around or am I doing something wrong

Answer : How to call more than one function in a procedure

Two diagnostic questions:

1. What happens if you comment out the FunctionA call? Does it go through B & C, or just through B?
2. Does it reach these message boxes in sequence if done as below?

Call Function_A
MsgBox "Done Function_A"
Call Function_B
MsgBox "Done Function_B"
Call Function_C


You might post the entire Function_A to see if something in Function_A is interrupting the module from which the call is made.
Random Solutions  
 
programming4us programming4us