|
From: Greg L. <gsl...@gm...> - 2006-11-25 01:57:50
|
Hello- I am writing my first pythoncard application; a system to help my wife track her sewing/embroidery business. I will be using MySQL as my database and would like to know how to instantiate the database connection when the routine starts up and then pass the cursor from screen to screen. I tried using __init__() but that raised an exception. Is there a method that I can call to initialize the database connection (eventually, I will have a logon dialog pop up, but one step at a time). I'm very happy with pyhoncard so far...I designed a killer looking screen to display her clients. I think I'm going to like it here. --greg |