I'm putting together a sample app as a learning exercise. The idea is to keep it very simple: An SQLite book database with 3 tables (book, author, bookauthor). The main form is designed (probably will only have 1 or two extra dialogs).
My problem is: There's a dPageFrame in the main form with two pages. Page 1 contains a dGrid added from the dataenvironment showing a full list of books. No problems here, it's superb ;-) Page 2 will contain a full list of authors. These are not related to the booklist or any book list entry, it's just a list of authors in the bd. I've tried to add the author grid from the dataenvironment. But the only available layout options are single record style! So discarding this approach I placed the grid myself, setting the DataSource property = author and the DataField property of the only column = authorname. But this doens't work either (note: I did create the an authorBizobj in the createBizobjs form method). I've followed the pattern that Dabo seems to have used in Page 1 book Grid. Although there's something I find strange: The name of the connection is "bookdb" and Dabo sets the DataSource property to "book" both in the ClassDesigner and in the BookBizobj it created!? I've read the API, that states the DataSource property corresponds to a Bizobj. So I tried to set this property in both grids to there corresponding Bizobj's without success. Help people! Best, Miguel _______________________________________________________________________________________ Aqueca o seu Inverno com o credito pronto a usar! Saiba mais em http://www.iol.pt/correio/rodape.php?dst=0701181 _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
