db access and base classes

Tim Golden tim.golden at viacom-outdoor.co.uk
Wed Jul 28 11:55:51 EDT 2004


[Greg Lindstrom]

| Hello-
| 
| I am writing an application that uses a base class to help 
| define multiple record segments. I would like to access a 
| SQL Server to generate job info, id numbers, etc. and would 
| like to place the connection in the base class so
| all segments use it via inheritance. My problem is I do not 
| know how to set things up so the connection is on opened once.

I'm not sure I understand what you're trying to do. Could you
post a bit of sample code. What do you mean by a "record segment"
and how are you proposing to use SQL Server?

TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list