I think you misunderstand the purpose of this forum. We're here to help you learn how to access a database, not to do the coding for you. If you need someone to do the coding, try rentacoder.com
You need to post the portions of code that you are having problems with (that you have written,) and ask specific questions.
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert