﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Browsing Records on a Maintenance Form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:36:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Browsing Records on a Maintenance Form</title><link>http://forum.strataframe.net/FindPost22052.aspx</link><description>Hi All, &lt;/P&gt;&lt;P&gt;I am currently trialing the framework so please excuse me if I am asking dumb questions I'm still on a learning curve.&lt;/P&gt;&lt;P&gt;I've created a maintenance form for an employees Personal Details, just basic stuff name, address etc., and added a browse dialog to the form. This works great as the users can come in and search for different people by last name or maybe get a bunch of people in the same department so they can batch input the required details for everyone in that specific department. This all works great. &lt;/P&gt;&lt;P&gt;The second form I'm looking to create is an absence form, recording dates of absence etc., and I'm getting confused over what the browse should do. Ideally I would want the browse to do the same as on the Personal Details form so that the user can again batch input against specific areas/departments, however, each employee may have more than one absence record and I need to give the user the ability to search and review these also. The main toolbar, where you can insert/amend &amp;amp; delete,&amp;nbsp;on a Maintenance form will be related to the Employee Browse and not the absence records. So what I'm saying, I think, is that I need two different BO, one to hold details about the employee and one to hold details of the chosen employees specific absence records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would be the best way to try and handle this using the framework, can I have two toolbars one related to the&amp;nbsp;Employees and one related to the Absences? &lt;/P&gt;&lt;P&gt;Should I add a grid to the form which displays the absence records of the selected employee? &lt;/P&gt;&lt;P&gt;Should I even use the Maintenance Form for this? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Please be gentle with me as I only started looking at this on Saturday!!&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or guidance you can give me. &lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;P&gt;I am currently trialing the framework and have been really impressed by the eas of putting things together</description><pubDate>Mon, 23 Feb 2009 08:12:05 GMT</pubDate><dc:creator>Jon Neale</dc:creator></item><item><title>RE: Browsing Records on a Maintenance Form</title><link>http://forum.strataframe.net/FindPost22057.aspx</link><description>Many thnaks. I'll give it a go.</description><pubDate>Mon, 23 Feb 2009 08:12:05 GMT</pubDate><dc:creator>Jon Neale</dc:creator></item><item><title>RE: Browsing Records on a Maintenance Form</title><link>http://forum.strataframe.net/FindPost22053.aspx</link><description>Jon,&lt;/P&gt;&lt;P&gt;Thanks for taking the time to use the forum...and I will be nice ;)&lt;/P&gt;&lt;P&gt;Actually you have a number of options here.&amp;nbsp; First, a maintenance form is nothing more than a Standard form with a gradient form header and a Maintenance Form Toolstrip dropped on it.&amp;nbsp; But you can take a number of avenues here.&amp;nbsp; You will want to have a BO for each table represented here (which I think that you already have setup from your description).&amp;nbsp; From your description I gather that the Absence table is a child or link table of the Employee table.&lt;/P&gt;&lt;P&gt;So rather than trying to use a browse dialog for the absence records, I would use a ListView (versus a grid) in conjunction with a ChildFormDialog.&amp;nbsp; Now if you want to be able to modify the records directly on the page to change statuses, etc. then a grid may be a good choice.&amp;nbsp; StrataFrame has some vastly extended functionality for a ListView.&amp;nbsp; With little to no manual coding you can populate a ListView, associate a BO instance (i.e. the Absence BO instance on the form), and even have to show a child form to modify the records.&amp;nbsp; Be sure to look at the StrataFlix sample as it shows exactly how to do this.&lt;/P&gt;&lt;P&gt;But you are going down the right road.&amp;nbsp; So in this case&amp;nbsp; would use either a grid or a ListView (recommended in most cases) to show and/or add absence records.</description><pubDate>Mon, 23 Feb 2009 07:39:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>