You need to write a flow chart or similar to map out exactly what your requirements are, if you know them. That way it lessens the chance of hitting another 'dead end'.
I've got to go now, work beckons and it's gone 5am with no sleep! Hope you make some progress and catch up soon.
Cheers
Paul Ked
Semper in excretia sumus; solum profundum variat.
Thanks, Paul for your effort. I really appreciate it. Have a nice day
P/s: I ticked this thread as solved since I have gotten pretty much 90% of what I want