i know this post is megaold, but it was the exact thing i needed for my app, ty for taking the time to write this. one error btw for all other users who try this : if u have a table in your database that has the format "(letters)-(letters)", i mean a line inbetween your letters, the WriteT...