Looking at your code, I'm concerned that you have left yourself wide open to a SQL Injection attack. Although it's traditionally associated with web sites, forms applications are equally vulnerable. You really need to have a read of SQL Injection Attacks and Some Tips on How to Prevent Them
] by Colin Mackay to get a deeper understanding of them.
One thing that I would question, as well, is whether you have all the fields you need for the church table. As you don't explicitly say what columns you are expecting, your query will attempt to insert the fields you specify into that table, in exactly the order you specified them. So, for instance, if you have an identity column, you'll actually be attempting to insert a string (regno) into that column.