On Sunday, April 17, 2011 11:58:40 am you wrote:
> I wanted to keep it as simple as possible. You wirte:
> 1) "the save is not really happening", is self.Form.save() not enough? What
> have I to add?
When you create the app part do something like:
app=dabo.dApp()
app.MainFormClass = MainForm
app.DatabaseActivityLog =
"/home/aklaver/dabo_app/test_code/plantForm_db_log.txt"
This will log the database activity, might help you see what is going on.
> 2) "it would help to see the code for the bizObj", again is the following
> not enough?
>
> > > biz = dabo.biz.dBizobj(conn)
> > > self.addBizobj(biz)
> > > biz.DataSource = "clients"
> > > biz.KeyField = "pkid"
> > > biz.UserSQL = """select clientname, street1, city
> > >
> > > from clients"""
> > >
> > > biz.requery()
>
> I have no separate Bizobj-file.
Alright then. First UserSQL overrides the built in SQL mechanism. I would
comment this out. Second, I would do self.requery(), this calls the requery
from the form.
> Thank you, Reto
--
Adrian Klaver
[email protected]
_______________________________________________
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]