I’ve got a (basic?) question…
Say I’ve got the the following sub
sub abc()
Sub2
Sub3
end sub
subroutine abc calls sub2 and then sub3. I need to know if ALL the contents of sub2 will be executed first then sub3 or will vb call sub2, then immediately call sub3 and process them side by side?
For me it’s important that sub2 get executed completely b4 sub3. Here’s what I’m actually trying to do:
sub2 will load data from a table and put it into individual drop down lists. sub3 will set the listindex of all those drop down lists according to a parameter i pass depending on which record should be selected in the lists, so if there is a lot of data and if sub2 and sub3 get executed simultaneously, the data that might get passed to sub3 might not have even got loaded from the database and this could cause serious problems.
If sub3 is executed only after the whole of sub2 is executed then there will be no probs.
TIA and sorry for the silly ques. :oops: