On Wednesday, November 23, 2011 04:38:03 PM Dewald Jacobs wrote: > Hi again, > > How would I proceed if I want to have an input form along with the grid for > the child table? Just point me in the right direction and I will try and > figure out the rest. > > Thanks again. Trying my best to learn python (Learning Python 4th Edition) > and dabo at the moment so sorry if the questions are very basic. > > Regards > Dewald > > On 23 Nov 2011, at 2:16 PM, Jacek Kałucki wrote: > > Użytkownik Dewald Jacobs napisał: > >> self.Linkfield = "Nr" > > > > Shouldn't it be: > > self.LinkField = "Nr"
First welcome to Dabo! Add the controls you need to the form. Associate the control's DataSource and DataField that match the DataSource and columns. So I have a grid with the DataSource = "Geskiedenis" and it has a columns "Notas", and "Datum" I would add two textboxes as follows: dabo.ui.dTextBox(self, RegID="NotasID",DataSource='public.Geskiedenis',DataField='Notas') dabo.ui.dTextBox(self, RegID="DatumD",DataSource='public.Geskiedenis',DataField='Datum') #Note review the Doc's for the reason I added a "RegID" a very cool feature of Dabo. If you are using the ClassDesigner to create the form then just drag and drop the control on the form and then associate the correct DataSource and DataField. As you move from row to row on the grid the data in the textboxes will follow. It is best if you have a new question to start a new thread. Also did you sign up for the list? John _______________________________________________ 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/4641624.mr5SgtmQzh@linux-12
