On Thu, Oct 29, 2009 at 8:54 PM, jvandal <[email protected]> wrote:

>
> I checked the biz init file and I have those statements included. I have
> checked this several times. I have the database statement in the db folder.
> ConsultHours.cnxml
> Any other suggestions??
> Jim
>
>
Just to be sure - you must also have  ClientBizobj.py in the ./biz directory
with the following code (as indicated in the tutorial):

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import dabo

class ClientBizobj(dabo.biz.dBizobj):
    def afterInit(self):
        self.DataSource = "clients"
        self.KeyField = "pkid"
        self.UserSQL = """select pkid, clientname, attn, rate, street1, street2,
                city, stateprov, postalcode
                from clients
                """


And of course in Python, case is important in both the name of the
file and the name of the class.


Aaron


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to