Could someone help me?

I posted a question at http://www.devshed.com/Talk/Forums/F...ML/003273.html

What's going on that makes it not work as expected?