I suggest you Put in all of your connections in a separate txt file or qvs file with all the connections inside separate sub routines and call the specific sub routine that you need in the respective QVW.
First you can use the include statement to read in the script
and then use QVW specific CALL statement to call the sub routine that you need.