Hi all,

I am trying Dabo and it is very interesting.
I made a test with sqlite's base and one table. I did a form with 
dListBox (LtVerbesOc) that loads the records coming from a table named 
VerbesOc. I have followed the help,

create a connexion etc...and write the initAll's fonction  like this

def afterInitAll(self):
     verbesBiz = self.getBizobj("VerbesOc")

     verbes, keys = verbesBiz.chargeLtVerbesOc()
     self.LtVerbesOc.Choices = verbes
     self.LtVerbesOc.Keys = keys
     self.LtVerbesOc.ValueMode = "Key"
     self.requery()
All works fine but i saw that there  are in the dListBox's proprieties, 
a DataSource' propriety and DataFied's propriety. In my test this 
informations are blank and all works fine.

My question:
There is a another way to load my sqlite's table VerbesOc directly in my 
sListBox in informing DataSource and Datafield without the little 
program in afterInitAll(). In fact, more automaticaly ?

I hope you understand my bad english sorry for this,

Regars,
Bruno
_______________________________________________
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