Ms Access Continuous Form Show New Records
Whether you are starting a new database, or renovating an old one, Access Form Design is one of the most entertaining and also important steps. Do it right, and you have a highly functional, productive application with a professional look and feel to hand to your users.
In the course of daily business, we see a lot of our customer�s Microsoft Access forms. Some are great, and some are stuck in 1998 design paradigms. This article gives you ideas for key ways to improve your MS Access forms in a few minutes.
5 | User-centric instead of Data-centric Access Subforms Collect information from other sources DSum() - Sum values from a table/query based on some criteria Don't be frightened by the cryptic terminology. Replace <<expr>> with the field name you want to sum/count/average/etc. Replace <<domain>> with the table or query name, and finally <<criteria>> with any filter criteria you need to apply. Say you want to sum the revenue from a customer. Your text box would look like this: =DSum("Revenue","tblOrders","[fk_CustomerID] = " & [CustomerID]) In the above example, we're summing the Revenue column in the table "tblOrders," but only if the customer ID indicator in tblOrders matches the customer ID of the current record on this form. If you see "#Error" you'll know something is wrong. Usually that the field name you specified doesn't exist, or the table/query name is slightly off. |
6 | Use tab controls to deemphasize non-critical information Tab controls can be a bit tricky to learn. You'll have to think of it as a container of sorts, where it can only shrink to be as small as the largest thing inside. So if you find your tab control can't shrink in size, check the tabs to see if there is something "preventing" it from shrinking. |
7 | Inline calculationsSimilar to the tip in #5 above, you can use inline calculations in unbound textboxes on your forms to show users important information without waiting for a report or query. Access is much like Excel, in fact. Except instead of specifying cell names =Sum(A2:A5) you need to specify the field names on your form =[Quantity]*[Unit-Price]. Access will support any standard mathematic operation you want to apply. The textbox will not be editable, of course. And as you enter data into your fields, the text will refresh to show the results of the calculation for that record in the same manner that Excel does when you update cells. |
8 | Form window behaviorsWhen you create a new form in Access, the default properties are generally not optimal for user-friendly interaction. Open the Properties dialog box for your form and get to know these key properties:
|
9 | Summary and Detail FormsAccess supports several different form views, the most common being the Single Form and Continuous Form view. These are really detail and summary forms, respectively. The Single Form view lets you see only one record at a time, while the Continuous Form view presents a list of multiple records in rows. Unfortunately, the Continuous Form seems to get limited attention by the Access designer. Many prefer to use the Single Form view to display records, and it definitely has it's place. Putting a dropdown box on a detail form to let users navigate between records can be cumbersome to create, and not the ideal way to present information.Design your forms knowing the key task the user will be carrying out. When needed, you may need to create multiple versions/views of the same information to fit your user's task. For example, a summary form would be ideal to browse a list of products, whereas a detail form might be appropriate for filling out a new order. |
10 | Load forms with contextIn the prior tip, we talked about using summary or detail forms. Lucking, you can use both in tandem to great effect. Say your users will need to be able to browse a list of new prospects each day, and use some summary information to decide who to call upon. Once they are on the call, they would prefer to see all the details about that prospect in a single consolidated view. Why not pop up a detail form from the summary screen? With Access, you can use the Command Button wizard to do just that. Drag a new button into your form. In the wizard, choose the "Form Operations" option, then "Open Form." Next you'll be asked what form to open. In the screen after that, be sure to indicate "Open the form and find specific data." Finally, you'll need to tell Access how to find the related record. In our example, you'd need to indicate what the unique field is that will help Access locate the same record in your detail popup form.In the example above, we're using Customer-Name. That will work fine as long as Customer-Name is always unique. Otherwise, we recommend using the numeric ID field. Also note that you can make your detail form a popup form so that it will display over the summary form. See tip #8 for more on how to set the popup property. |
Source: https://www.opengatesw.net/ms-access-tutorials/Access-Articles/Access-Forms-2.htm
0 Response to "Ms Access Continuous Form Show New Records"
Post a Comment