![]() ![]() ![]() That example just displayed data easily gleaned from the data or by using built-in functions. That way, you can supply very specific instructions about what type of data the user must enter-the user need only glance at the status bar to get a little help when entering data. By that, I mean that the Windows status bar displays the Description property text for the current control. This next example is more complicated because it more truly simulates the Windows status bar. The resulting form should resemble the one shown in Figure A. ![]() To create the pseudo status bar, open the form’s Footer and add three label controls, naming them lblPane1, lblPane2, and lblPane3. To get started, base a tabular form on the Customers table refer to Table A to set a few properties.īind only the CompanyName, ContactName, and CustomerID fields to text box controls and name the controls txtCompanyName, txtContactName, and txtCustomerID, respectively. The example uses the Customers table in the Northwind sample database that comes with Access. All three are easily acquired values that require little code. In this first example, you’ll add label controls to a continuous form’s footer to display the current record’s primary key value, the current date, and the time. The only thing that may get complicated is the code-depending on the information you want to share. The process is simple: Just add the appropriate controls to a form and write a little code to fill those controls. When you decide not to include the status bar, you can simulate the status bar’s purpose in the current form by displaying helpful information in a pseudo status bar that’s part of the form itself. However, the status bar isn’t always available to share that information. The Windows status bar provides an easy way to interact with Access users because it displays information about the selected data. Build Your Skills: Add a pseudo status bar to a Microsoft Access form ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |