StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Parent Table FieldExpand / Collapse
Author
Message
Posted 06/13/2006 10:26:33 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 06/18/2006 9:43:25 PM
Posts: 12, Visits: 49
How to display the parent table field in BrowseDialog form ? for example, an invoice that include the customer name in BrowseDialog and allows for searching and sorting.

Another question is how to include the parent table field in the maintenance form and listview ? For example, an invoice that include the customer credit limit in the form.

Post #1530
Posted 06/14/2006 9:30:29 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/09/2008 3:36:08 PM
Posts: 2,686, Visits: 1,891
When you display records within the ListView, you can create a join between the child records and the parent records.  When you set the PopulationDataSourceSettings on the business object, simply type in the name of the joined fields when adding a new "Display Field" and it will be added to the list (it does not have to exist as a property on the business object itself).

As for the BrowseDialog, you cannot add parent fields to the list results themselves, but if you create a BrowseInformationPanel, you can show any additional information within the panel. 


www.bungie.net
Post #1533
Posted 06/15/2006 9:22:10 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 06/19/2006 11:42:31 PM
Posts: 1, Visits: 7
Besides display the parent field value in the list , is that possible to allows user to search/filter by parent field value in BrowseDialog ? For example, Browse invoice able to search by cusomer code and customer name.
Post #1557
Posted 06/16/2006 5:17:03 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
The browse dialog is primarily used to search a single entity.  However, you can associate a business object with a view which would give you this type of flexibility since it can span multiple tables.  But as of now, the BrowseDialog is really geared for searching a single business object.

If you want to show information associated with another business object within the same browse, look at the sample in the "Samples and Solutions" are of the forum on from the main page.  There is a sample that shows how to use an InformationPanel within the browse dialog which ultimately allows you to do anything you want.

Post #1562
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:46pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 7 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.