in reply to I can't find error section of code

Hint: you will tend to receive much more assistance if you report more than "it doesn't work".

In what way does it not work? What are the symptoms? What do you expect it to do which it does not, and what does it do which you expect it not to do?

Get back with more details and I may be able to help you.

Paul