could somone perhaps point me to either a code chunk that i can run as a
test to see what i'm missing! or could someone point me to additional docs
on this..
Hi,
Tested on Win XP, Python 2.5.1

8<--------------------------------------
#!/usr/bin/env python
# -*- coding: cp1250 -*-
import os, sys,  time
from sqlobject import *
from sqlobject.sqlbuilder import *

sqlhub.processConnection = connectionForURI('sqlite:/:memory:')

class Book(SQLObject):
    name=StringCol(length=20, default=None)
    addr=StringCol(length=20, default=None)
    class sqlmeta:
#        fromDatabase = True
        idName = "PO_NUMBER" 
        idType= str
       
Book.createTable(ifNotExists=True)
Book(id='a', name="Jakes", addr="Hilton rd.")
print Book.get('a').name